Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

232
Views
How to i can access two values in one template in kendo UI in angular
<kendo-grid-column field="[_id,role]" title="Action"> 
                <ng-template kendoGridCellTemplate let-dataItem>
                  <!-- <span *ngIf="dataItem.ProductID == 1" class="badge badge-success">Online</span> -->
                  <button  class="btn btn-success m-2" style="width: 70px;"  (click)="openDialog(dataItem._id,dataItem.role)" > select Role</button>
              </ng-template>
              </kendo-grid-column>

here I want to get two values _id, role in function Can you please advice me how to I can get both value in function .

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

I have resolve this issues we can simply get two value like follows

<kendo-grid-column field="_id" title="Action"> 
                <ng-template kendoGridCellTemplate let-dataItem>
                  <!-- <span *ngIf="dataItem.ProductID == 1" class="badge badge-success">Online</span> -->
                  <button  class="btn btn-success m-2" style="width: 70px;"  (click)="openDialog(dataItem._id,dataItem.role)" > select Role</button>
              </ng-template>
              </kendo-grid-column>

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!