|
Title: Problem with .datagrid('loadData', []); when two datagrid in same page Post by: Fabrice on September 05, 2014, 01:47:16 AM i have a page with two datagrids, when i call $('#second_dg').datagrid('loadData',[]); to clear the second datagrid, the first datagrid is also empty!
can you confirm it's a bug? Title: Re: Problem with .datagrid('loadData', []); when two datagrid in same page Post by: stworthy on September 05, 2014, 02:25:59 AM When call $('#second_dg').datagrid('loadData',[]), it only clear the '#second_dg' datagrid. Please check your code carefully.
Title: Re: Problem with .datagrid('loadData', []); when two datagrid in same page Post by: Fabrice on September 05, 2014, 02:42:19 AM I don't see any problem in my code, i use bufferview and filterbar , maybe the problem is due to these plugins?
Title: Re: Problem with .datagrid('loadData', []); when two datagrid in same page Post by: Fabrice on September 06, 2014, 12:28:34 AM After some tests, i think the problem is due to bufferview plugin, when multiple datagrids in same page, sometime certains grids are not displayed, parameter scrollTimer timeout seem to be the cause. I replace 50 by 0 and it seem better. Can you explain why?
Title: Re: Problem with .datagrid('loadData', []); when two datagrid in same page Post by: stworthy on September 06, 2014, 03:00:27 AM How do you initialize the buffer view? Please provide an example to demonstrate your issue.
|