webismymind / editablegrid

EditableGrid is an open source Javascript library aimed at turning HTML tables into advanced editable components. It focuses on simplicity: only a few lines of code are required to get your first table up and running.
http://www.editablegrid.net
Other
796 stars 271 forks source link

Server Filter/Sort #151

Open MSIH opened 7 years ago

MSIH commented 7 years ago

EditableGrid is fantastic and the code is very clean and well documented. Thank you.

I am trying to understand how to configure/code so that filtering and sorting is done on a server using AJAX REST API that will return json.

  1. set EditableGrid.prototype.serverSide = false;
    var editableGrid = new EditableGrid("DemoGridFull")
    editableGrid.serverSide = true;
  2. Which method make the call to the server?
  3. How are the filter string and sort orderby included in the URL?