Hello,
For our project we need a data grid that is able to have checkbox selection in combination with a rowTemplate. Currently when adding a rowTemplate to a data grid it seems that the entire grid including our checkbox selection gets overwritten by the new template, as the checkbox selection is also a separate column.
What we need in our project is the checkboxes that appear when you do not have a rowTemplate as in the following image:
We were not able to find a way to make use of these checkboxes in the template, and we would like to not build the checkbox functionality that is already present in the component ourselves just because we want to use a template. It would also be sufficient if there were to be an easy way to bind a checkbox input in the template to the selection in the grid like the following example:
<tr>
<td>
<input type="checkbox"/> <!-- bind this checkbox to the grid selection-->
</td>
<td>
<format-text v-model="data.fullName"/>
</td>
<td>
<format-email v-model="data.email"/>
</td>
<td>
<format-text v-model="data.groupNames"/>
</td>
<td>
<format-boolean v-model="data.isActive"/>
</td>
</tr>
We are aware of the fact that we could use columntemplate to work around this issue by providing a template to all the columns that we would like to format in a custom way, but the checkbox selection is the only outlier in this case.
Thanks in advance