我希望在搜索文本字段中使用日期选择器,并最终在 jqgrid 的编辑字段中使用日期选择器。
有什么办法吗?
有人用过这样的组合吗?带 jqGrid 的日期选择器?
最佳答案
您将在字段定义中执行以下操作,
colModel: [{ name: 'Start', index: 'Start', searchoptions: { sopt: ['eq', 'ne'],
dataInit: function (elem) { $(elem).datepicker({ showButtonPanel: true }) } } },
关于jquery - 如何在jqGrid搜索工具栏中获取日期选择器?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3408115/