Hi,
when i go with the pointer on one table cell all the row of my iggrid gets grey background. Every td gets ui-state--hover class.
Is it possible to highlight only one row on hover?
Hello Luca,
I am glad that you find my suggestion helpful.
Please let me know if you need any further assistance with this matter.
Ok, thank you very much.
Thank you for posting in our community.
The reason why all rows get hovered, when you enter one of them with the mouse, is that there is no unique primary key set for the igGrid. These keys are used to differentiate data records and Selection feature uses them to identify on which row the hover style should be applied. Please try setting the primaryKey option to a column with unique values as following:
//Initialize
$(
".selector"
).igGrid({
primaryKey :
"CustomerID"
});
Please let me know whether this helps you achieve your requirement.