I'm using Slickgrid but I'd prefer not to use slick.model.js. How can I write grid.onSort to sort the lines of my data set?
My code uses the standard template:
$(function() {
var data = [ ... ];
grid = new Slick.Grid($("#myGrid"), data, columns, options);
grid.onSort = function(sortCol, sortAsc) {
sort...
I found this tease of a code snippet:
http://codepaste.net/m6xsdi
slickGrid.AddColumn(
Column.ForId("riga")
.Named("Riga")
.ForField("id")
.WithEditorFunction("TextCellEditor")
.WithSetValueHandler("updateItem")
.WithBehavior(Column.Behavior.selectAndMove)
).AddColumn(
Column.ForId("c...
Can I freeze columns when scrolling horizontally?
More exactly these columns should be fixed when scrolling.
...
Please, in all the examples found in the SlickGrid code, the data array was randomly generated on the client side.
Getting: I need to know how to use PHP to fetch this information from a MySQL Database and return it using jQuery / AJAX to the SlickGrid.
Saving: I already found a link on StackOverflow for saving data from the grid using...