jQWidgets Forums

Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts

  • ahmetuzun
    Participant

    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.


    ahmetuzun
    Participant

    Hi Stanislav,
    Let me rephrase:

    I have a treegrid like below:

    -Folder1
    —Item1
    —Item2
    -Folder2
    —Item3

    I 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?

    in reply to: Button height:'100%' problem Button height:'100%' problem #30330

    ahmetuzun
    Participant

    Thank 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.

    in reply to: Button height:'100%' problem Button height:'100%' problem #30312

    ahmetuzun
    Participant

    Are you going to change this + 2 addition to height in the next version?

    in reply to: spin buttons? spin buttons? #30311

    ahmetuzun
    Participant

    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
                        })
                    }
                }
            });
    in reply to: Button height:'100%' problem Button height:'100%' problem #30274

    ahmetuzun
    Participant

    The 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});
    in reply to: Button height:'100%' problem Button height:'100%' problem #30273

    ahmetuzun
    Participant

    I 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.

    in reply to: KnockoutJS KnockoutJS #30223

    ahmetuzun
    Participant

    I understand it now. Thank you very much.

    in reply to: KnockoutJS KnockoutJS #30193

    ahmetuzun
    Participant

    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);
    }
    }
    });
Viewing 9 posts - 1 through 9 (of 9 total)