dojo - dgrid sorting based on "get" function -


i have grid columns get method (an optional function that, given data item, return value render in cell). want use values of function sorting purpose. right way that?

no, not possible. sorting done on data in store/collection. whereas, method related particular column of grid , called while rendering. sorting done before rendering of grid.

you want add new property data/store values in function. apply sort on property.


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -