EasyUI Forum

General Category => General Discussion => Topic started by: catpaw on June 23, 2017, 07:28:47 PM



Title: Get The row data from index row
Post by: catpaw on June 23, 2017, 07:28:47 PM
Hello
I have The index of row, I need The row data
I has searched in forum and found The method getRow but I get error

How can get The row data from The row index?

Thanks


Title: Re: Get The row data from index row
Post by: jarry on June 23, 2017, 08:19:15 PM
Please try this code:
Code:
var index = ...
var row = $('#dg').datagrid('getRows')[index];


Title: Re: Get The row data from index row
Post by: catpaw on June 24, 2017, 03:14:36 PM
Thank you jarry
 
It ok