I'm attempting to emulate the typical desktop grid user experience with using up/down/pgup/pgdn keys to move the selected row (single) in a grid. I have it all working perfectly when running locally in development. But when deployed to production server, it's too slow due to latency over the wire. It's about a 1 second delay for each row change if there are more than say 5 rows. The more rows that are displayed, the slower it gets.
I tried the navigable setting but it's just not quite what our users would expect.
So, I'm thinking of a JavaScript function that will simply highlight a row. I'm already handling tracking the selected row programmatically, so if I can just highlight the specified row at the front end and remove the 2-way binding on the SelectedItems, I think that will solve the latency issue.
2 questions:
(1) Is this how you'd suggest handling this to speed up the rendering?
(2) do you have any JavaScript that would highlight a row in a grid where a specific cell value is equal to a specific value? I've spent a couple of days trying to find/come up with some JS that would highlight a row. But I'm not having any luck.
await _js.InvokeVoidAsync("App.highlightRow", "." + "myGridClassName", IDValueToHighlight);
Thank you for your consideration,
Mike
I tried the navigable setting but it's just not quite what our users would expect.
So, I'm thinking of a JavaScript function that will simply highlight a row. I'm already handling tracking the selected row programmatically, so if I can just highlight the specified row at the front end and remove the 2-way binding on the SelectedItems, I think that will solve the latency issue.
2 questions:
(1) Is this how you'd suggest handling this to speed up the rendering?
(2) do you have any JavaScript that would highlight a row in a grid where a specific cell value is equal to a specific value? I've spent a couple of days trying to find/come up with some JS that would highlight a row. But I'm not having any luck.
await _js.InvokeVoidAsync("App.highlightRow", "." + "myGridClassName", IDValueToHighlight);
Thank you for your consideration,
Mike