In my case, I want the user to pickup the values by clicking on a ">" type image at the end of the cell and a modal window is opened. Within the modal window a dynamic way to pass the value selected back to the cell.
Asked
Active
Viewed 605 times
0
-
Explain your requirements clearly, please – Piyush Sardana Aug 17 '12 at 04:23
-
Within the modal window a dynamic way to pass the value selected back to the cell. this line is not clear – Piyush Sardana Aug 17 '12 at 06:09
-
It seems he wants the user to be able to click on a `>` image link, open a dialog, pick a value, and then dynamically pass that value back to the table cell. – Justin Ethier Aug 17 '12 at 13:26
-
Yes. Justin is correct. That is what I am looking for. – Black Colour Aug 17 '12 at 14:03
-
okay but dont post your question again and again please. I'm going to look for a solution for you. – Piyush Sardana Aug 19 '12 at 15:16
-
i m sorry. when i found my question was not answered. i thought i should reframe my question because i did not think users would be reading comments on this post. i will delete the other question.. – Black Colour Aug 20 '12 at 18:23
1 Answers
0
You should look into this answer..instead of having custom button you can have an image button with each cell, in this answer he's adding a custom button in pager, but you can have a custom button with each cell like this.
Now after adding a image button, on click function you can get the value of the column using getCol and open a dialog using jQuery like this and then you can use setCol property of jqGrid to set the value of column.
Now try to write code using this approach. If you get any difficulty let us know.

Community
- 1
- 1

Piyush Sardana
- 1,748
- 4
- 19
- 33