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
Post a Comment