|
Title: refresh combogrid Post by: Ellipsis on October 05, 2012, 12:42:38 AM How do I reload the data in the combogrid?
I tried retrieving the grid object (.combogrid('grid')) and on this object Itried calling a load with new parameters.... No luck (.combogrid('grid').datagrid('load',{parameter:value}) Title: Re: refresh combogrid Post by: stworthy on October 05, 2012, 06:01:34 AM It seems that there are no problems with your codes.
Title: Re: refresh combogrid Post by: Ellipsis on October 05, 2012, 07:48:25 AM Strange, could you make a jsfiddle example please?
Title: Re: refresh combogrid Post by: stworthy on October 05, 2012, 10:37:25 PM Here is the jsfiddle example:
http://jsfiddle.net/zkQ3X/ Title: Re: refresh combogrid Post by: Ellipsis on October 08, 2012, 02:49:56 AM Thank you, this example works fine.
But what I was looking for was with the use of an external JSON source. Nothing happens: jQuery('#pfx_classSearchField').combogrid('grid').datagrid('load',{catalogNumberOrDescription:courseDataArray['Studiegidsnummer']}); Title: Re: refresh combogrid Post by: stworthy on October 08, 2012, 05:51:42 AM As a demonstration, loading external data source can not be hosted on jsfiddle. But these have no more differences.
Please check if the request parameter can be posted to server correctly when calling 'load' method. If so, make sure your server can receive this parameter and return the corresponding data back to browser. Title: Re: refresh combogrid Post by: Ellipsis on October 18, 2012, 12:49:18 AM Ok got it working, thank you.
|