Skip to content Skip to sidebar Skip to footer

What Is The Best Way To Create A List From The Rows Of A Grid

In my app there are two drag and drop grid. To create a list, you drag rows from the first to the second grid. What is the best way to send this list of rows (second grid) for the

Solution 1:

To send the whole range of records from the store to the server in a single Ext.Ajax.request, you could try:

Ext.Ajax.request({
    url:'testURL',
    jsonData:store.getRange()
});

Or you can have a special field in your record, that contains whether or not the record is in the list. Set the non-persistent boolean field to defaultValue false, and onDrop set it to true. And voilá, the record should be dirty.

Post a Comment for "What Is The Best Way To Create A List From The Rows Of A Grid"