Checkboxes in matrix form in grid

Hi,
I want to get the id on which checked is done in the below coming grid on a button click.

It is coming in the following way:
 <ejs-grid #grid id='grid' [dataSource]='matrixData' allowPaging='true' [pageSettings]='initialPage'
          gridLines='Both' [editSettings]="editSettings">
          <e-columns>
            <e-column field="ActionName" headerText="Actions" width='230'></e-column>
            <div *ngFor="let item of Columns">
              <e-column [field]="item.RoleName" [headerText]="item.RoleName" width='230'>
                <ng-template #template let-matrixData>
                  <ejs-checkbox  [(checked)]="matrixData[item.RoleName]"></ejs-checkbox>
                </ng-template>

              </e-column>
            </div>
          </e-columns>
        </ejs-grid>

1 Reply

RR Rajapandi Ravi Syncfusion Team April 28, 2020 01:41 PM UTC

Hi RakhiS, 

Greetings from syncfusion support 

Query#: I want to get the id on which checked is done in the below coming grid on a button click. 

Before start providing solution on your query, we need more information for our clarification. So please share the below details that will be helpful for us to provide better solution. 

1)     Please share  your exact requirement scenario with detailed description. 

2)     In your query, you have mentioned that button click. Please share what you are going to achieve in a button click? 

3)     Explain your requirement in detail with some pictorial representation. 

Regards, 
Rajapandi R 


Loader.
Up arrow icon