How to set multiple data-key as Id on every row
I have bind one grid using awesome , but i have need to bind some data-attribute on every row for my inner logic.
example :
. Here my primary key Id bind as data-k="101", but I need to bind some extra attribute on
every table row, like
.
In above tr, "data-name" and "data-conflict" is data attribute that I have need.
Please give me suggestion, How to set extra attributes on every row
Rutul Patel
asked
at 30 Jan 2017
-
please explain why do you need data-name and data-conflictat 30 Jan 2017 Omu
-
Thank you for your reply. I have need to set some extra data attribute for getting value of property, like In "data-k" attribute set primary Id attribute, Same as like I need to set more data value like 'data-name = position1' or something like that.at 31 Jan 2017 Rutul Patel
-
you can get the row model using; for example to get the Name you could do at 31 Jan 2017 Omu