jQWidgets Forums
Forum Replies Created
-
Author
-
February 21, 2018 at 1:52 pm in reply to: How to change the parent of a row How to change the parent of a row #98851
Stanislav,
Thank you very much for the reply but it has a side effect:
Choose Steven and click the button.
Choose Michael under Steven and click the button.Michael moves under Andrew but it is not deleted from the children Steven.
February 15, 2018 at 12:14 pm in reply to: How to change the parent of a row How to change the parent of a row #98727Hi Stanislav,
Let me rephrase:I have a treegrid like below:
-Folder1
—Item1
—Item2
-Folder2
—Item3I want to update the parent key of “Folder2” to “Folder1” so that it will be displayed under “Folder1” with all its children (Item3 in this example).
Is this possible?
October 7, 2013 at 6:35 am in reply to: Button height:'100%' problem Button height:'100%' problem #30330Thank you very much for the great support.
I’m sorry about the license issue you’ve mentioned. It is something which I never thought would violate the license agreement.
October 6, 2013 at 8:15 pm in reply to: Button height:'100%' problem Button height:'100%' problem #30312Are you going to change this + 2 addition to height in the next version?
How should I change the following code in jqxknockoutx.js to achieve this? I tried to use the code from jqxInput example but could not succeed?
var i = new b.jqwidgets.knockout({
name: "jqxComboBox",
...
if (A == "selectedIndex") {
z.host.jqxComboBox({
selectedIndex: C
})
}
}
});
October 5, 2013 at 4:26 am in reply to: Button height:'100%' problem Button height:'100%' problem #30274The following alternative also works fine:
var btn = $("<input type='button' value='Button' style='width: 100%; height: 100%' id='jqxButton' />").appendTo( newObj ); btn.jqxButton({theme: _theme});
But the following has the same problem:
var btn = $("<input type='button' value='Button' style='width: 100%; height: 100%' id='jqxButton' />").appendTo( newObj ); btn.jqxButton({ width: '100%', height: '100%', theme: _theme});
October 5, 2013 at 4:24 am in reply to: Button height:'100%' problem Button height:'100%' problem #30273I tried specifying a height for the container but it also had the same result. (Indeed, I had tried it before writing this question.)
However, the following piece of code worked as you suggested:
btn.css(“height”,”100%”);
Although you have not changed anything about the height of the button widget, something else you did may have a side effect.
For example the following alternative also works fine:
var btn = $(“”).appendTo( newObj );
btn.jqxButton({theme: _theme});But the following has the same problem:
var btn = $(“<input type='button' value='Button' style=’width: 100%; height: 100%’ id=’jqxButton’ />”).appendTo( newObj );
btn.jqxButton({ width: ‘100%’, height: ‘100%’, theme: _theme});Thank you very much for your help.
I understand it now. Thank you very much.
Thanks for the quick reply.
If I want to extend this method for other widgets, is it going to be enough to add code blocks like the following one for each widget?
ko.jqwidgets.dataBinding = new ko.jqwidgets.dataBinding({ name: "jqxDateTimeInput", value: null, events: ['valuechanged'], getProperty: function (object, event, eventName) { if (eventName == 'valuechanged') { return { name: "value", value: event.args.date }; } }, setProperty: function (object, key, value, newValue) { if (key == 'value') { object.setDate(newValue); } } });
-
AuthorPosts