How to keep current selection for jqGrid pulldown edit

Posted by WildBill on Stack Overflow See other posts from Stack Overflow or by WildBill
Published on 2012-03-20T23:23:36Z Indexed on 2012/03/20 23:30 UTC
Read the original article Hit count: 243

Filed under:
|

When editing cells in jqGrid, specifically using a select pull-down to edit a cell, how does one make the current selection the current choice for that cell? In my page I have a cell where edittype:'select' is set but when one clicks on that row the value for that cells automatically changes to the first entry that my AJAX call returns. Is there something within JQGrid that needs to be set or does the object I send to jqGrid have to be of a certain format to do so?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jqgrid