Hi
I want a small clarification on one of the use case related to IgrDataGrid (https://ko.infragistics.com/products/ignite-ui-react/react/components/grids/data-grid/overview).
I have used IgrDataGrid in-order to display the data on the UI in tabular form(and I have multiple grids on the UI at the same time).
So now I need to add some functionality on a particular grid with the help of it's 'id' tag(by using it as a differentiator between the grids) and also want to implement something on some particular rows and cells with the help of it's 'id' tag.
Our use case is that we want to perform some automation testing and for that we need some type of ID or tag Value associated with every grid, row and cell.
So, for this I need to know how can we add an 'id' tag to the whole IgrDataGrid and also to it's rows and cells?
If there is any option for this please suggest and if not then please suggest some alternate solution as I need to implement this in my IgrDataGrid.
Hoping for a positive response.
Thanks!!!
Thank you for submitting a new feature request. At this time I don't have any recommendations for automated testing. When we have a solution we would certainly post it on our website.
Hi Michael
I have raised a feature request for this issue but as of now what approach can we follow in order to perform the automation testing on the grid.
As in automation testing we need the identifier through which we have identify the grids and its rows and cells and perform the testing accordingly.
So please suggest some alternate approach so that we can perform the automation testing in IgrDataGrid.
Hello and thank you for posting this question. The grid doesn't have anything unique other than a key and ref properties. Ids on cells and are not possible because we don't give access to those DOM elements and the rows don't expose any DOM elements. I don't know how easy it would be for us to add this but you can submit a product idea here:
https://github.com/IgniteUI/igniteui-react/issues
Note, the likelihood of adding this to the ported Angular igx-grid aka the IgrGrid is greater. But we don't have a timeframe when this control is getting ported over to React.