Forum
11:42
05/05/2011
jqGrid 4.3 allows to add new row using inline edit.
Inline navigator demo in http://trirand.com/blog/jqgrid.....qgrid.html
Shows that after add command grid is scrolled to top and added row appears in top of grid.
This is confusing.
How to force added row to appear before current row?
Thi sis posted also in
12:31
10/08/2009
Hello,
I answerd to your question just now on the stackoverflow.
@Tony: I find the suggestion good and in the answer, which is oriented on form editing, I already suggested to extend the functionalite of the addRowData to support new 'afterSelected' and 'beforeSelected' values (additionally to existing 'first', 'last', 'after' and 'before') of the position parameter.
I suggest to extend the functionality of addRowData to support the new 'afterSelected' and 'beforeSelected' values of the position parameter.
Best regards
Oleg
12:37
Moderators
30/10/2007
This post is not here - my bad.
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.
12:41
Moderators
30/10/2007
And for the other questions in stackoverflow please read here – the position can be determined with parameter.
http://www.trirand.com/jqgridw.....ing#addrow
I kindly suggest to read the docs, instead that sometime I do not have time to update it
Kind Regards
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.
12:55
10/08/2009
Hello Tony,
Inside of both addRow
(see here) and editGridRow
(see here) call addRowData with tree parameter, so it is impossible to use 'after' and 'before' as the value of position parameter.
Moreover adding the row before or after the last selected row can be interesting independent of the addRow and editGridRow methods. So I think that intruduction of new values 'afterSelected' and 'beforeSelected' of the position parameter cen be helpful.
Best regards
Oleg
22:37
10/08/2009
Hello Tony,
the implementation of the suggested feature is very easy. One can ovewrite the code of like I suggested in the answers here and here, but the best will be if one modifies some lines of the original addRowData method to include support new 'beforeSelected' and 'afterSelected' value of the position parameter.
I think that the feature will be very practical for many users especially after introducing of inlineNav method.
Best regards
Oleg
Most Users Ever Online: 715
Currently Online:
44 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