EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: Kevin on May 27, 2020, 03:06:56 PM



Title: combotreegrid
Post by: Kevin on May 27, 2020, 03:06:56 PM
Hi there guys,

Is there a 'loadData' method for the combotreegrid?

As always, thanks for the help.


Title: Re: combotreegrid
Post by: jarry on May 30, 2020, 06:34:07 AM
Call the 'grid' method to get the treegrid object and then call 'loadData' method on it.
Code:
var grid = $('#cc').combotreegrid('grid');
grid.treegrid('loadData', ...)


Title: Re: combotreegrid
Post by: Kevin on June 01, 2020, 05:01:57 AM
Thanks Jarry. You are a genius.