rstaib / jquery-bootgrid

Nice, sleek and intuitive. A grid control especially designed for bootstrap.
http://www.jquery-bootgrid.com
MIT License
972 stars 362 forks source link

Default Sorting #301

Open andyjhall opened 8 years ago

andyjhall commented 8 years ago

How do i choose which row the gird defaults its sorting on? and once this is done how can i (in code) change the sorting based on a row name?

Thanks,

Andy.

Iodine- commented 8 years ago

Do you mean column sorting?

RajeshDixitCF commented 8 years ago

@Iodine,

I have a similar issue where my grid has 4k+ rows and on clicking on any column, it goes and fetches new data again. Is there a way to just sort rendered rows?

Also is there a way to have a custom sort function? I read sort method, but it expects an object and not a function.

Iodine- commented 8 years ago

@RajeshDixitCF Would you mind making a new issue for the above? I would like to be able to track it separately of this issue as they are unrelated