easyui treegrid check if row exists

Solutions on MaxInterview for easyui treegrid check if row exists by the best coders in the world

showing results for - "easyui treegrid check if row exists"
Erica
30 Apr 2019
1if($('#dg').treegrid('getLevel', row_id) > 0)
2{
3  // row exists
4}
5else
6{
7  // row does not exist or...
8  // "Sorry developer, but the row is in another page!"
9}