jqgrid,jqgrid树形表格
按esc键保存数据这个需要修改底层代码才行jqgrid,没有配置保存数据jqgrid的快捷键jqgrid,只有是否启用快捷键keys设置为true可以使用 Enter保存数据或者Esc 取消编辑的配置不过你可以试试colModel配置中的editoptions的子项dataEvents,添加keydown事件,获取keycode,如果是esc将就手动调用saverow方法jQueryquot#grid_idquot。
使用下面这个方法就可以了,参数为行id和列的name quot#gridIdquotgetCellrowId,colName。
样式,拿loading样式用的,自己可以改 norecords borderwidth 2px !importantdisplayfontweight boldleft 45%margin 5pxpadding 6pxposition absolutetextalign centertop 45%width autozindex 102 在。






