ParamQuery Grid
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
how to remove all rows?
« previous
next »
Print
Pages: [
1
]
Author
Topic: how to remove all rows? (Read 1497 times)
msdnweixiao
Pro Enterprise
Newbie
Posts: 21
how to remove all rows?
«
on:
November 18, 2020, 07:21:02 am »
i can't find the api of remove grid's all rows. thank you.
or how to get all rows of grid?
Logged
paramvir
Administrator
Hero Member
Posts: 6310
Re: how to remove all rows?
«
Reply #1 on:
November 18, 2020, 10:36:15 am »
Get all rows:
Code:
[Select]
var all_rows = grid.pageData();
delete all rows:
Code:
[Select]
grid.deleteNodes( grid.pageData() );
Logged
msdnweixiao
Pro Enterprise
Newbie
Posts: 21
Re: how to remove all rows?
«
Reply #2 on:
November 18, 2020, 11:18:31 am »
thank you.
Logged
Print
Pages: [
1
]
« previous
next »
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
how to remove all rows?