ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
Cacading Grids have first row selected by default on page load
Title:
B
I
{code}
?
In this demo, https://demo.aspnetawesome.com/CascadingGridDemo The second grid [MealsGrid] does not display any records when the page is loaded because nothing is selected in the first grid. But I want the first record of the first grid [CategoriesGrid] to be selected by default.
Save Changes
Cancel
Arash Ansari
asked 14 days ago
Answers
B
I
{code}
?
You can trigger click on the first grid on `aweload`, example: $('#CategoriesGrid') .one('aweload', function(){ $('#CategoriesGrid').find('.awe-row:first').click(); });
Save Changes
Cancel
Omu
answered 13 days ago
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK