jQuery UI Widgets › Forums › Plugins › Data Adapter › DataAdapter contents clear
Tagged: dataadapter, dataAdapter content records clear, javascript dataadapter, jquery dataadapter, jqwidgets dataadapter
This topic contains 1 reply, has 2 voices, and was last updated by Hristo 7 years, 2 months ago.
Hi, friends
I have problem DataAdapter’s content clear: i use
var DoseList = new $.jqx.dataAdpter(DoseSource); ... any code .. function mnNew() { DoseList.records = []; // after this, DoseList.recorsds <em>always</em> empty
Where my error? Best regards
Hello deliri,
You should use .dataBind() method of the jqxDataAdapter or also you could implement autoBind: true setting to it. The DataAdapter is ready to use when it is set to a widget, otherwise, you should use mentioned options. Please, take a look at this demo: https://www.jqwidgets.com/jquery-widgets-demo/demos/jqxdataadapter/defaultfunctionality.htm?light
.dataBind()
autoBind: true
Best Regards, Hristo Hristov
jQWidgets team http://www.jqwidgets.com
You must be logged in to reply to this topic.