BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
Query |
Response | |
1. It is possible add checkbox to header column ejGrid HTML5/Javascript for checking and unchecking all rows? |
We have already logged the requirement “Multiple selection using checkbox” as feature in our database. As of now, your requirement can be achieved by using the following workaround solution, where we have used headerTemplate to render the check box in the header column and template column to render the check box in grid content. Please refer the following example code.
| |
2. How to setup column for select multiple rows with checkbox? |
This requirement can be achieved by using check box change event. In this event we are selecting the row dynamically. Please refer the following example code.
| |
3. How to keep the selected rows when changing page? |
By default, the grid selected rows will be removed while performing the paging operation. So, we used actionBegin and actionComplete events to store the selected row index in local storage (window.selectedItems) to maintain that selection. Please refer the following example code.
| |
4. How to identify all rows selected for multiple pages? |
We can identify the data by using the local storage (window.selectedItems). All the selected row index are stored in window.selectedItems. |