I'm currently incorporating angularJs and Syncfusion to display data in a table using the Syncfusion grid ().
However, I'm encountering difficulties in utilizing angularjs functions within this grid:
<div class="table-responsive grid-toggle">
<div id="GridId" ej-grid e-datasource="TableData"
e-allowfiltering="true" e-allowpaging="true" e-allowsorting="true" e-enabletouch="false" e-responsive="true"
e-allowselection="true" e-filtersettings-filterType="excel" e-allowtextwrap="true" e-recorddoubleclick="Get">
<div e-columns>
<div e-column e-field="Id" e-headertext="{{TableData.Id}}" e-width="2" ng-click="func()"></div>
<div e-column e-field="Nums" e-headertext="Nums" e-width="1"></div>
<div e-column e-field="Fams" e-headertext="Fams" e-width="2"></div>
</div>
</div>
</div>
The issue lies in the functionality of the first column e-headertext
and the usage of ng-click
.
If someone could assist me in overcoming this obstacle, it would be greatly appreciated. My goal is to enhance the table's interactivity by enabling clickable rows within the grid. I prefer to utilize syncfusion due to its excel filter setting.
Thank you for your help.