I'm using jqGrid with local data and values that should be displayed in the cells depend on couple flags that can be set on the page. Simple example would be column called 'weight' which displays unit weight but if 'Total value' check box is checked on the page than in value displayed in this cell should be calculated value base on several other parameters (i.e. num_items * weight). I managed to do this by setting 'name' option in colModel to function which returns either row or calculated value. However in this case sorting by that column is not working.
Is there any way I can use jqGrid in this 'virtual data' mode where for each column instead of direct mapping to data custom function can be used?
Regards,
Bosko
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top