jQWidgets Forums
Forum Replies Created
-
Author
-
January 28, 2020 at 1:40 pm in reply to: on demand data loading expand issue on demand data loading expand issue #107951
Hi Hristo,
Thanks, Demo is available again, please check the tree grid,issue is very obvious.
I tried async: false in ajax but didn’t help.December 9, 2019 at 3:32 pm in reply to: on demand data loading expand issue on demand data loading expand issue #107534Hi Hristo
Thanks for your reply 🙂
When you check a node for example parent1 , tree expand and collapse immediately.
I think there is a bug here , i have to expand the node again to see sub items.
Do you have any idea about it?April 10, 2019 at 10:46 am in reply to: jqxTree Load on Demand with Ajax: re-open issue jqxTree Load on Demand with Ajax: re-open issue #104708Hello Todor,
Thank you for your reply
the jqxtree is available here:
http://164.132.119.216:655please login by:
username: demo
password: 123Tree js code is exist in the path of app/viewmodels/index.js and i sent it before here
sorry, website language isn’t english!March 30, 2019 at 1:26 pm in reply to: jqxTree Load on Demand with Ajax: re-open issue jqxTree Load on Demand with Ajax: re-open issue #104604Hi, i have this issue too!
When i clicked on arrow to load node’s children, node has collapsed quickly.
I’m using jqwidget v6.1.0, jqxtree component.this is my code:
function TreeNode(id, parentid, text, value) {
var self = this;
self.id = id;
self.parentid = parentid;
self.text = text;
self.value = value;
}function toId(input) {
return input == null ? “-1″ : input + ”;
}var mydata = {
UserId: userid
}
$.ajax({
url: “api/dashboard/getTreeRoot”,
type: “Post”,
data: mydata,
async: false
})
.done(function (tree) {
$(‘#jqxLoader’).jqxLoader(‘close’);
self.showLoader(false);var nodes = [];
for (var i in tree) {var node = tree[i];
nodes.push(new TreeNode(
toId(node.FldId),
toId(node.FldParentId),
node.FldNameFarsi,
node.FldId));
}
var source =
{
datatype: “json”,
datafields: [
{ name: ‘id’ },
{ name: ‘parentid’ },
{ name: ‘text’ },
{ name: ‘value’ }
],
id: ‘id’,localdata: nodes
};
var dataAdapter = new $.jqx.dataAdapter(source);
dataAdapter.dataBind();
var records = dataAdapter
.getRecordsHierarchy(‘id’, ‘parentid’, ‘items’, [{ name: ‘text’, map: ‘label’ }]);
$(‘#jqxTree’)
.jqxTree({
source: records,
width: ‘100%’,
height: ‘320px’,
rtl: true,
checkboxes: true,
hasThreeStates: true,
theme: ‘material’
});
}).fail(function () {});
December 14, 2016 at 8:26 am in reply to: I get cyclic object value with using jqtree I get cyclic object value with using jqtree #89831Hello Dimitar
thanks for your reply 🙂
description of error :
TypeError: cyclic object value knockout-3.4.0.debug.js:591:20
ko.utils.stringifyJson http://localhost:8192/Scripts/knockout-3.4.0.debug.js:591:20
ko.toJSON http://localhost:8192/Scripts/knockout-3.4.0.debug.js:2324:16
c.jqwidgets.knockout/L.update/< http://localhost:8192/Scripts/JQwidget/jqxknockout.js:7:1803
.each http://localhost:8192/Scripts/jquery-1.10.2.js:679:14
c.jqwidgets.knockout/L.update http://localhost:8192/Scripts/JQwidget/jqxknockout.js:7:1507
applyBindingsToNodeInternal/</< http://localhost:8192/Scripts/knockout-3.4.0.debug.js:3318:33
computedFn.evaluateImmediate_CallReadThenEndDependencyDetection http://localhost:8192/Scripts/knockout-3.4.0.debug.js:2142:103
computedFn.evaluateImmediate_CallReadWithDependencyDetection http://localhost:8192/Scripts/knockout-3.4.0.debug.js:2114:24
computedFn.evaluateImmediate http://localhost:8192/Scripts/knockout-3.4.0.debug.js:2078:13
computedFn.evaluatePossiblyAsync http://localhost:8192/Scripts/knockout-3.4.0.debug.js:2044:13
bound self-hosted
ko_subscribable_fn.notifySubscribers http://localhost:8192/Scripts/knockout-3.4.0.debug.js:1320:25
observableFn.valueHasMutated http://localhost:8192/Scripts/knockout-3.4.0.debug.js:1529:36
observable http://localhost:8192/Scripts/knockout-3.4.0.debug.js:1495:17
mainModel/< http://localhost:8192/App/viewmodels/index.js:164:25
jQuery.Callbacks/fire http://localhost:8192/Scripts/jquery-1.10.2.js:3062:10
jQuery.Callbacks/self.fireWith http://localhost:8192/Scripts/jquery-1.10.2.js:3174:7
done http://localhost:8192/Scripts/jquery-1.10.2.js:8249:5
.send/callback http://localhost:8192/Scripts/jquery-1.10.2.js:8792:8self works with jqxgrid in other file.
-
AuthorPosts