Forum


Greetings.
I have 2 combobox (select) columns in grid row, depending on their values, i change the value on another column wich is hidden (on colModel properties for that column hidden:true). And there is the problem when i call restoreRow for this row the value from the hidden column did not resotre.
08:23

Moderators
30/10/2007

Hello,
Set this column as editable - i.e. editable:true, instead that it is hidden and the value will be restored.
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.
08:26

Moderators
30/10/2007

Hi again,
If I look into the code there is some bug here. Thank you. It will be corrected. The reason is that all values (except subgrid and multi select) are pushed in saved array, but I restore only these values that are editable.
Again Thanks
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.
02:58

Moderators
30/10/2007

I fixed this. If you can't wait for the final 3.2 (after some days)
open the grid.inlinedit.js find a function restoreRow
then whitin this function find :
if ( nm !== 'cb' && nm !== 'subgrid' && $t.p.colModel[i].editable==true)
and replace with
if ( nm !== 'cb' && nm !== 'subgrid')
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.
Thanks for the fast response, but this did not fix my issue,
i also set the colmodel for the column which is
{name: “StmId”,index: “StmId”,xmlmap: “StmId”,sortable:false,resizable:false,editable:true,edittype:”text”,
hidden:true},
And when I call the restoreRow function the value of
all fields wich are not editable is space (” “).
Greetings.
04:42

Moderators
30/10/2007

Have tested and this work for me. Try to clear the cache.
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.
I have been cleared my cache from the browser. The bug is staying.
My previous post describe, the aftermath of fixing line. After restoreRow,
every column in the row which is not editable
( "editable:false", "hiden:true" or "editable:true,hidden:true"),
lose his text!
Without fix line: When i`m in editRow mode editable fields are input box
or comboBox ("select") except not editable(brackets up in the post),
I have a editable field an comboBox, depending on their values i change
the text in not editable col, reach that col using:
$(gridid +" #"+rowid).find("td:eq(3)").text("newVal") , after that
i click custom button, which call restoreRow. Then the text in that box wich is hidden is " "(space) .
06:37

Moderators
30/10/2007

Sorry for this, but if I see the 3.2rc there is another place for correction.
Would you like to test?
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.
07:23

Moderators
30/10/2007

have sended to e-mail listed here. Please let me know if all is ok
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:
74 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