Forum

jqgrid 5 - colModel...
 
Notifications
Clear all

jqgrid 5 - colModel, edittype: 'select' and current row/user id

1 Posty
1 Users
0 Likes
1,060 Widok
0
Topic starter

how to get current row during row generation (example: get user roles)

1 Answer
0
Topic starter
1
2
3
4
5
6
7
8
       edittype: 'select',  editoptions:
                        {
                            dataUrl: "user/select2_roles/",
                            postData: function (rowid) {
                                return {
                                    id: $(this).jqGrid("getCell", rowid, "id")
                                };
                            },
       edittype: 'select',  editoptions:
                        {
                            dataUrl: "user/select2_roles/",
                            postData: function (rowid) {
                                return {
                                    id: $(this).jqGrid("getCell", rowid, "id")
                                };
                            },

Odpowiedź

Author Name

Author Email

Your question *

 
Preview 0 Revisions Saved
Share: