Hello,
I am loading the data-list with a pre-selected row, but I want this row to be selected "Highlighted"
Do you have any idea how to do it?
Thank you for the provided description. I have been looking into your requirement and created a small sample trying to reproduce the described behavior.
On my side, everything works and expected and I am able to select a certain row on load using the igxGrid's SelectRow method. In my sample, the rows' ids have string value and as argument of the SelecteRow method, I'm passing one of those ids.
You could find the sample application in the following link:
https://stackblitz.com/edit/igx-grid-row-selection-on-load
Please test it on your side and let me know if I may be of any further assistance.
Sincerely,
Teodosia Hristodorova
Associate Software Developer
Yes.. I am using the igx-grid. To be more specific, I am using the IgxGridComponent selectRows method, so I can select the row by id right after the data is loaded in the table (I am passing to the selectRows method the rowId). The problem I am facing is that the selected row does not get highlighted. The igx-grid-row won't have the css class 'igx-grid__tr--selected'
Thank you contacting Infragistics Developer Support.
In order to ensure that your issue is addressed correctly I will need some additional information regarding your scenario. Could you please clarify which control you are using to load you data, is it igx-grid?
This information is going to be highly appreciated and will help me in my further investigation.
Thank you for your cooperation.
Looking forward to hearing from you.
Sincerely, Teodosia Hristodorova Associate Software Developer Infragistics