Here is my issue, I have a query and the related form in one VP
so, selecting a row in the query will fill in the form with the appropriate data.
The query on the left is in date entered order and there are columns in the query that are updated when the form is saved. (i.e. the form has a status attribute, and the query has the status attribute. So if the status is changed, and the form saved, I have the query updated.
ALL is good
However, I have an ADD button, which will add a new record and the query will show it on the top (since it is in date added descending order. BUT the cursor stays on the row that was selected. After a new record is added I would like the query to select the top row, so the newly added form is displayed for the user to enter data.
I can't set the query to always select the 1st row, or when it is refreshed, it would always go to the 1st row.
Any suggestions?
Is there any JS to tell Kendo to select the top row?
(I see a "select" method for a grid, the problem is (I think) that the button to add a row is not in that grid. (I "guess" I could move it, but wonder if there is a way to select a grid in a diff. panel maybe???)
Thanks
Bruce