I was working on jqgrid functionality. In multi searching in jqgrid, on clicking '+' button continuously, the number of search tabs will be added infinitely. Is there any way to limit the adding of search rows ?
相关问题
- How to bind a dropdown list inside jqgrid row cell
- jQgrid filterToolbar fails with searchOnEnter
- Detecting checkbox event in jqGrid cell
- How to alter data received from the server before
- How to access other row data from a cell's cus
相关文章
- jqGrid Row Object in onSelectRow
- Weird behavior of jqgrid Grouping
- jQuery - jqGrid - submit buttons in each row
- JqGrid: sorting of local data
- How to Expand/Shrink row in Jqgrid dynamically
- VB.net FileUpload using Ajaxcall
- jqGrid addRowData doesn't work with grid as su
- How to turn off column highlighting (on hover) for
One can use
afterRedraw
callback to calculate the number of rules and to disable '+' buttons after the limit is archived. If the number of buttons less then the limit one should enable '+' buttons. See the answer for more details.