ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
get data from the rendered grid
Title:
B
I
{code}
?
Is it possible get grid data from the grid, from the grid model, after it was already rendered. Like select all in this sample https://demo.aspnetawesome.com/GridDemo/Selection without paging naturally
Save Changes
Cancel
Meccanica Rossi
asked 23 days ago
Answers
B
I
{code}
?
Depends on the grid, for a simple grid without grouping or tree structure, you could call this: const data = $('#Grid1').data('o').lrs.dt.items; for the rest you would have to navigate recursively the grid model (currently `dt`) . for an individual row you could call: const row1 = $('#Grid1').find('.awe-row').first(); const row1Model = $('#Grid1').data('api').model(row1);
Save Changes
Cancel
Omu
answered 22 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