Categories | Question details Back To List | ||||||||||||||
DHTMLX Grid : Locking Unlocking row, Paging functionality with JSON. Hi, I want to have functionality of locking a row of data in Grid, using JSON. I can do it with XML using locked attribute in row, but how to do same with JSON object ? Actually I want functionality of editing a row ONLY if I click on "Edit" option of context menu in Grid. Also I want to do paging with JSON object in Grid, please tell me how to do it. Answer posted on Jun 25, 2008 09:44 >> I want to have functionality of locking a row of data in Grid, using JSON.
The default grid doens't provide such ability, but you can use attached patch, with it row can be locked from json as well { id:"some", data:["1","2","3","4"], locked:true } >> Also I want to do paging with JSON object in Grid, please tell me how to do it. Paging works for any datasource, so just enable paging, same as for XML , and load json data. http://dhtmlx.com/docs/products/dhtmlxGrid/samples/loading_big_datasets/pro_paging.html?un=1214413270000 Attachments (1)
Answer posted by Tejas Shah on Jun 25, 2008 23:11 Hi, Thanks for the patch, but side - effect of this is that I am not able to add the Drag and Drop feature in the grid with JSON object. Please solve this. Answer posted by Support on Jun 26, 2008 05:11 Problem can't be reconstructed - the d-n-d works correctly while loading data from json based dataset. Sample attached Attachments (1)
|