I am binding a User model class to backgrid. User model contains id, name, domain. Our aim is display the users corresponding to different domains. Hence same user can be present in multiple domains. In fact we would have records with same id, name but different domain.
Hence while binding only the first record is displayed. How can I display the other records? Please note that in order to maintain uniqueness, I can add a recordId column. But I cannot make any change to existing id column. I noticed that if my id contains unique value, the issues gets resolved. But I cannot make any changes to Id column. Please help.
Divya
It depends on how you have implemented the UI but you can create a new attribute for example 'data-id' and give it a unique value that's combination of id+domain. Then use the data-id for all manipulation the same way you would do for id. Ex: $([data-id='id+domain']) instead of $('#id')