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,
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.
Ok, thank you very much.