I have a grid that lists people. When it loads, I need to select a row matching the key I submit and then ensure the row is visible in the window. How do I do this? My attempt (based on what I know of the TreeList):
var row = $("tr[data-uid='" + dataItem.uid + "']");
alert(row == null);
if (row != null)
2 Answers, 1 is accepted
answered on 18 May 2020, 02:37 PM
Thank you for the provided code snippets.
The get() method depends on the Model.Id of the data source. What I have noticed is that in the current declaration, Model.Id is missing. Could you add it and let me know if the issue persists?
.Model(model => model.Id(p => p.ProductId))
Looking forward to your reply.
Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic. Our thoughts here at Progress are with those affected by the outbreak.