Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
Position on row
29/09/2008
14:16
Avatar
kaare
Member
Members
Forum Posts: 13
Member Since:
11/07/2008
sp_UserOfflineSmall Offline

Isn't it possible to choose a row where the view will start?

Example: I have a grid with a row for each day in the month. For september I would right now have 29 rows.

Right now I have to scroll down to the end of the grid. I would like to position at the end of the grid, ie row 29.

I've tried to search the forum and the documentation, but nothing showd up

30/09/2008
03:30
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

Not sure what you want, but maybe you can use

height: 'auto'

and then the methods

setSelection(rowid) to select a row dynamically

resetSelection - to reset all selected rows

Regards

Tony

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

30/09/2008
12:42
Avatar
kaare
Member
Members
Forum Posts: 13
Member Since:
11/07/2008
sp_UserOfflineSmall Offline

It's a grid that is generated from the server and it may be from 1 to 31 rows long (for each day in the current month). I want no more than 10 lines visible at a time. If there are more rows than 10, there will be a scrollbar to get to the bottom.

Now, if it's the today, the 30. september, the server will generate a list of 30 rows. When the grid is finished, I will see the first 10 rows and I have to scroll down to day 30. I would like this to happen automatically, so it will display the last 10 rows of the set, and the scollbar can still be used to scroll up to the first rows.

I hope it is understandable?

01/10/2008
03:27
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

This time  I undestand what you want 🙂

Currently this  can not be done, but there is potencial in

the method setSelection. Since I neeed something in my project I will see

if I can do that in the final release. This will also will be very usefull in form edit

when we talk through the records (edit mode)

Best Regads

Tony

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

02/10/2008
02:31
Avatar
kaare
Member
Members
Forum Posts: 13
Member Since:
11/07/2008
sp_UserOfflineSmall Offline

Yeah, I know I wasn't too clear the first time 🙂

A follow-up question - I'd like to manipulate the CSS classes in same grid so that weekdays have one color, weekends another and holidays yet another. Remember, each day of the month is a separate row.

The information about which type (weekday, weekend, holdiay) will come from the server, but the question is: Can I set the css class of the row based on the data I receive from the server?

03/10/2008
02:14
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

Use afterInsertRow event again with setCell method.

Regards

Tony

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

16/10/2008
01:59
Avatar
kaare
Member
Members
Forum Posts: 13
Member Since:
11/07/2008
sp_UserOfflineSmall Offline

Currently this  can not be done, but there is potencial in

the method setSelection. Since I neeed something in my project I will see

if I can do that in the final release. This will also will be very usefull in form edit


Dit it make it to the 3.3 release? Nothing in the notes.

Btw isn't the list element an ordinary scrollable element? I tried  the ScrollTo plugin (http://plugins.jquery.com/proj.....t/ScrollTo) the other night with no luck.

16/10/2008
02:18
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

Sorry this is not in the 3.3. It is planed for next release.

Regards

Tony

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

16/10/2008
02:28
Avatar
kaare
Member
Members
Forum Posts: 13
Member Since:
11/07/2008
sp_UserOfflineSmall Offline

Hi Tony

But should you be able to use ScrollTo (or similar) with jqGrid?

I wasn't very successful when I tried the other night.

17/10/2008
08:50
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

I will use the same approach as in cell editing module.

Regards

Tony

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

14/01/2009
07:36
Avatar
glemarie
France
Member
Members
Forum Posts: 66
Member Since:
19/12/2008
sp_UserOfflineSmall Offline

Hello,

I'm interested too by this option. Could you confirm that it's present in 3.4beta ? Is is the "Dynamic scrolling grid" functionnality" ?

Thanks.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
49 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information