Jsgrid: Selecting the column (field) that must be sorted by default

Created on 31 Jan 2016  路  2Comments  路  Source: tabalinas/jsgrid

Hi,
How to force the field that will be used to sort (from the time the page is loaded)? Example: by field "Address".
I use code like in Basic Scenario demo.

help wanted

All 2 comments

Hi. Supose you have a field named "address", for example.

$("#jsGrid").jsGrid("sort", "address");

Thank you @geloh, I think it's exactly what is needed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aidankilleen picture aidankilleen  路  5Comments

samuelrobertson picture samuelrobertson  路  3Comments

flyinmryan picture flyinmryan  路  3Comments

gianlucaqo picture gianlucaqo  路  4Comments

RevealedFrom picture RevealedFrom  路  3Comments