jQWidgets Forums
jQuery UI Widgets › Forums › Grid › TypeError: v.indexOf is not a function
This topic contains 5 replies, has 2 voices, and was last updated by joko.pitoyo 4 years, 3 months ago.
-
Author
-
I have problem with jqxGrid after clear content and fill data again…
First Step Load Data Success
gridAlarm.jqxGrid(‘clear’);//data var is from ajax response
var source = {
localdata: data,
datatype: “local”
};
gridAlarm.jqxGrid({
source: source
});when we repeat first step, and i try to scroll jqxGrid, i go error like title? what wrong and what right way clear and refill jqxGrid
The above problem is using complex layout like this:
<body> <div id="mainSplitter"> <div style="height:100%;"> <div id="west"> <div class="westtop"> <div>Pilih User</div> <div id="cboUser"></div> </div> <div class="westmain"> <div id="westTabs" style="border: 0px;"> <ul> <li>Device</li> <li>POI</li> <li>Geofence</li> </ul> <div id="devicex"> <div class="box"> <div class="row header"> <div id="toolbar"> </div> <div style="margin-top: 3px;"> <input id="searchdevice" /> </div> </div> <div class="row content"> <div id="treeDevice" style="border:0px;"></div> </div> <div class="row footer"> <div id="formDevice"></div> </div> </div> </div> <div> <div class="box"> <div class="row header"> <div id="toolbarpoi"> </div> <div style="margin-top: 3px;"> <input id="searchpoi" /> </div> </div> <div class="row content"> <div id="treepoi" style="border:0px;"></div> </div> <div class="row footer"> <p><b>footer</b> (fixed height)</p> </div> </div> </div> <div> <div class="box"> <div class="row header"> <div id="toolbargf"> </div> <div style="margin-top: 3px;"> <input id="searchgf" /> </div> </div> <div class="row content"> <div id="treegf" style="border:0px;"></div> </div> <div class="row footer"> <p><b>footer</b> (fixed height)</p> </div> </div> </div> </div> </div> </div> <div class="info"></div> </div> <div> <div id="rightSplitter"> <div> <div id="map_canvas" style="height:100%;width:100%;border:0px;"></div> </div> <div> <div class="jqx-hideborder jqx-hidescrollbars" id="alarmTabs"> <ul> <li>Data Alarm</li> <li>Data Service</li> </ul> <div class="jqx-hideborder jqx-hidescrollbars"> <div id="gridAlarm"></div> </div> <div class="jqx-hideborder jqx-hidescrollbars"> <div id="gridService"></div> </div> </div> </div> </div> </div> </div> <div id='jqxMenu'> <ul> <li id="playbackgps">Playback GPS</li> <li id="editgps">Edit GPS</li> <li id="addgroup">Tambah Group</li> <li id="editgroup">Edit Group</li> <li id="deletegroup">Hapus Group</li> </ul> </div> <div id="msgNotification"> </div> </body>
Helo
what the maximun jqxGrid can load data in trial mode? i have try load data more than 45, it is problem… less than 45 its ok
Helo
Sorry for mistake report, problem is cellsrenderer: formatAlarm
formatAlarm not handle data correctly…
Thanks
Hello joko.pitoyo,
Could you clarify it?
I assume that you resolve your case?Best Regards,
Hristo HristovjQWidgets team
https://www.jqwidgets.comYes, above problem resolve….
this is because my mistake handle cellsrenderer
-
AuthorPosts
You must be logged in to reply to this topic.