free-jqgrid

Filtering jqGrid datetime columns using date picker just on date

霸气de小男生 提交于 2019-11-26 08:34:12
问题 I currently have an issue where I have datetime columns in a grid that are formatted to only display the date portion of the field. So the raw data looks like \"2015-04-15T15:31:49.357\" and the grid column looks like \"4/15/2015\". I am using a datepicker to support column filtering and would like to be able to use the \"eq\" operator to filter using \"equals\" but just on the date portion. Currently I do not get any matches because the time is getting in the way. Is it possible to get

How to use free jqgrid properties to conditionally add actions buttons

好久不见. 提交于 2019-11-26 05:51:19
问题 free jqgrid shows orders. Posted orders should have yellow background and only open action button. Unposted orders have white background, standard delete and custom post action button. colmodel for actions column: {\"hidden\":false,\"label\":\"Activity\",\"name\":\"_actions\",\"search\":false,\"width\":94 ,\"sortable\":false,\"formatter\":\"actions\",\"viewable\":false,\"formatoptions\":{\"editbutton\":false,\"onSuccess\":function (jqXHR) { jqXHRFromOnSuccess=jqXHR;return true;} ,\"delbutton\

How to replace remapColums with remapColumnsByName in free jqgrid

那年仲夏 提交于 2019-11-26 01:48:28
问题 Code from answer in how to persist current row in jqgrid is used to save jqgrid state. It saves jqgrid column state using column numbers. If jqgrid colmodel is changed in server, this causes javascript error in browser. Freeze rownum column in JQGrid comment and https://github.com/free-jqgrid/jqGrid/blob/master/README49.md describes method remapColumnsByName . I hoped that using this fixes the issUe. free jqgrid was downloaded from todays git master. In state save after columns was resized or

How to replace remapColums with remapColumnsByName in free jqgrid

我与影子孤独终老i 提交于 2019-11-25 22:55:49
Code from answer in how to persist current row in jqgrid is used to save jqgrid state. It saves jqgrid column state using column numbers. If jqgrid colmodel is changed in server, this causes javascript error in browser. Freeze rownum column in JQGrid comment and https://github.com/free-jqgrid/jqGrid/blob/master/README49.md describes method remapColumnsByName . I hoped that using this fixes the issUe. free jqgrid was downloaded from todays git master. In state save after columns was resized or moved line saveColumnState.call($grid, $grid[0].p.remapColumns); was changed to saveColumnState.call(