Forum
08:13
23/07/2008
First off - Awesome work Tony.
Would it be able to add a second nav bar or a locked row to a grid. Im working a grid with numbers and would like to have a row that has the sum of the rows locked at the bottom.
Would it be possible to add a second nav bar to display these results. I suggest a nav bar because it can use its own CSS which would allow it to "stick out". The only down fall is that the items in the nav bar would notalign up with the other items.
Thanks
Brad
08:24
Moderators
30/10/2007
Brad,
There is such way see examples New in version 3.1
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.
10:51
22/07/2008
Hello Tony, Brad,
I would like to support this feature request but in a different matter. I use jqGrid on an administrative website that allows the administrator to change certain list values, add new ones, etc etc.
As you may know, changing settigns that are in use or even deleting them would cause a lot of problems, the smallest one that it is messing with the data that the user has entered.
So, I would like to have a possibility to lock certain rows (best of the best would be to do this based on a cell value, e.g. if the row "in use" has an "x" value) so that those can't be selected and maybe even colored in a different way.
At the moment I do this myself in the loadComplete function, but to have this as a standard feature would be great.
Thanks,
Creativebyte
11:04
Moderators
30/10/2007
This can be done easy when using afterInsertRow with combination of one hidden field. That is you can color the row this way
afterInsertRow : function(rowid, data) {
if (data.somefield == 'a') {
// color the row
$("#rowid","#mygrid").css("color","red")
...
}
}
In a hidden field you have value that the row is used - then you can disable the action on this row
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.
Most Users Ever Online: 715
Currently Online:
51 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.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66