jQWidgets Forums
Forum Replies Created
-
Author
-
Hi Iourivalos,
Thx for your help. i have already found a workaround like yours.
I also get the items DIVs position by their column id.function getListOrder(id) { var list = document.getElementById(id).childNodes; var listLength = list.length; var i=0; var res = []; for(var i=0; i<listLength; i++){ var chaine = list.item(i).id; var tableau = chaine.split("_"); var indexAuditee = tableau[1]; res.push(indexAuditee); } var chaine = res.toString(); return chaine; } var listAuditees = getListOrder("kanban-column-container-0"); var listAuditeesAudit = getListOrder("kanban-column-container-1");
May 20, 2016 at 3:00 pm in reply to: Re Create a grid after destroy Re Create a grid after destroy #84502I found !
to refresh all the kanban content i’m using removeItem and addItem,
it works for me !May 20, 2016 at 1:03 pm in reply to: Re Create a grid after destroy Re Create a grid after destroy #84501I’m also using a kanban component and i’m facing the same problem.
There is no updatebounddata method for kanban…
So i’m looking for a similar method for kanban.
Does this method exists ?May 20, 2016 at 12:12 pm in reply to: Re Create a grid after destroy Re Create a grid after destroy #84500Hi Ivailo,
Thx a lot dude !!!!
It works fine !Thx ivailo !!!
it works for me…Yep,
Hard to make it work !!!!
Need help…
here is my code :var fields = [ { name: "lastname", type: "string" }, { name: "firstname", type: "string" }, { name: "role", map: "label", type: "string" }, { name: "customer", type: "string" }, { name: "color", type: "string" } ]; var source = { localData: [{"lastname":"AAAAAA","firstname":"BBBBB","label":"NOT SPECIFIED","customer":"CCCCC","color":"#D8D8D8"}], dataType: "json", dataFields: fields }; var dataAdapter = new $.jqx.dataAdapter(source, { loadComplete: function (records) { // get data records. var records = dataAdapter.records; // get the length of the records array. var length = records.length; // loop through the records and display them in a table. var html = ""; for (var i = 0; i < 20; i++) { var record = records[i]; html += "<tr>"; html += "<td>" + record.lastname + "</td>"; html += "<td>" + record.firstname+ "</td>"; html += "<td>" + record.role+ "</td>"; html += "<td>" + record.customer+ "</td>"; html += "<td>" + record.color+ "</td>"; html += "</tr>"; } console.log(html); }, loadError: function (jqXHR, status, error) { }, beforeLoadComplete: function (records) { } }); // perform data binding. dataAdapter.dataBind();
An error on console log : record undefined.
I don’t know what is wrong…Hi Ivailo,
Thx for your reactivity.
I’m gonna try right now…KS
Hi Ivailo,
Thx for the answer but it’s not exactly what i want.
You can test it here : http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/index.htm#demos/jqxgrid/dropdowngrid.htmAs a left click, a right click (and even a click on wheel mouse) on the dropdown list expand the content.
I just want the list to expand only on a left click. -
AuthorPosts