Forum Replies Created

Viewing 15 posts - 31 through 45 (of 55 total)
  • Author
    Posts
  • in reply to: addrow problem addrow problem #14355

    damc
    Participant

    Hi Peter,

    I have send to support@jqwidgets.com a print screen where it is with yellow color marked what I mean. In version 2.4.2 was rowid = 10 in this case. Here it is undefined. Is this OK or I miss something?

    Thank you for your help.

    in reply to: addrow problem addrow problem #14353

    damc
    Participant

    Hi Peter,

    You can debug code in createremoveupdatedata demo add new row button, look at rowid in addrow: function (rowid, rowdata, position, commit) {…}.

    Thank you for your help.

    in reply to: addrow problem addrow problem #14349

    damc
    Participant

    Hi Peter,

    For rowid parameter we put null, same like it is in demo.

    In documentation (look jqxGrid API, addrow) it say’s that if you want the new id to be auto-generated, pass null. If I debug my code with version 2.4.2 widgets, I see parameter rowid (for first added row it is 0, for second it is 1, and so forward…).

    But in version 2.6.1 is rowid undefined, same like in demo. What could be wrong?

    Thank you for your help.

    in reply to: addrow problem addrow problem #14298

    damc
    Participant

    Hi Peter,

    I have read the Release History (I noticed the new parameter (commit) in addrow function) and I have checked my code, but I don’t find solution for my problem.

    I debugged demo createremoveupdatedata with firebug and noticed, that rowid parameter is undefined. Is this OK?

    Thank you for your help.


    damc
    Participant

    Hi Peter.

    I don’t know why does not work with my old code (I replace the component with 2.5.0 and works with same code). If I add code to set selectedIndex after creating jqxComboBox it works. Where is the point? Why can’t I set selectedIndex when I initialize component?

    Code:

    indexToSelect = 4;
    // Create a jqxComboBox
    $("#jqxWidget").jqxComboBox({ selectedIndex: indexToSelect, source: dataAdapter, displayMember: "ContactName", valueMember: "CompanyName", width: 200, height: 25, theme: theme });
    $("#jqxWidget").jqxComboBox({ selectedIndex: indexToSelect });

    elp.

    Thank you for your help.


    damc
    Participant

    Hi Peter,

    Why this code does not work on 2.5.5 version combobox?

    Code:

    indexToSelect = 4;
    // Create a jqxComboBox
    $("#jqxWidget").jqxComboBox({ selectedIndex: indexToSelect, source: dataAdapter, displayMember: "ContactName", valueMember: "CompanyName", width: 200, height: 25, theme: theme });

    Thank you for your help.


    damc
    Participant

    Hi Peter,

    I use it on create jqxComboBox. I have variable indexToSelect which I set it.

    My code (works on version 2.5.0 and on version 2.5.5 dropDownList but not with combobox):

    indexToSelect = 4;
    // Create a jqxComboBox
    $("#jqxWidget").jqxComboBox({ selectedIndex: indexToSelect, source: dataAdapter, displayMember: "ContactName", valueMember: "CompanyName", width: 200, height: 25, theme: theme });

    Thanks.


    damc
    Participant

    Hi Peter,

    Bug or new future in version 2.5.5 jqxComboBox selectedIndex property does not work. Same code in 2.5.0 works. Can you look this?

    Thanks.


    damc
    Participant

    Hi Peter!

    Good work! I take a look on new demo in v2.5.5 and works fine (demo in 2.5.0 does not). I will upgrade to 2.5.5 ant try it on my sample.

    Thanks.


    damc
    Participant

    Hi Peter,

    I have another problem. If user select item from dropDownlist with mause (with keyboard it is ok) then loses focus and tab key does not work properly. How can I set focus?

    You can try on yours (settings.htm) sample.

    Thank for your help.


    damc
    Participant

    Hi Peter,

    I have problem with “border selection” on tab key by DropDownList because I change border on input to red (border: ‘1px solid red’) if value in input is not valid and back to default if value is OK ( border: ‘1px solid #ABADB3’. Here is problem, because on IE8 doesn’t work border: ”) and then is not visible tab position on DropDownList. Is it possible to have DropDownList on tab key same selection (selected is value in input not border) like combo?

    Thank you for your help.

    in reply to: jqxdropdownlist autoClose jqxdropdownlist autoClose #8369

    damc
    Participant

    Hi Peter,

    If I remove animationType setting it works. Have you plan to solve this issue in next version?

    Thank you.

    in reply to: jqxdropdownlist autoClose jqxdropdownlist autoClose #8358

    damc
    Participant

    Hi Peter,

    Sorry. I mistyped.

    My code:

    jQuery('#jqxDropDownList1').jqxDropDownList({
    source : dataAdapter,
    selectedIndex : 1,
    animationType : 'none',
    width : '149',
    height : '22',
    dropDownWidth : '700',
    displayMember : 'dis1',
    valueMember : 'val',
    disabled : false
    });
    source = {
    localdata : self.myData.arrayA,
    datatype : 'local'
    };
    dataAdapter = new jQuery.jqx.dataAdapter(source);
    jQuery('#jqxDropDownList2').jqxDropDownList({
    source : dataAdapter,
    selectedIndex : 1,
    animationType : 'none',
    width : '149',
    height : '22',
    dropDownWidth : '700',
    displayMember : 'dis1',
    valueMember : 'val',
    disabled : false
    });
    source = {
    localdata : self.myData.arrayB,
    datatype : 'local'
    };
    dataAdapter = new jQuery.jqx.dataAdapter(source);

    Thank you.

    in reply to: jqxdropdownlist autoClose jqxdropdownlist autoClose #8323

    damc
    Participant

    Hi Peter,

    I use jQWidgets 2.4.2.

    My code:

    jQuery('#jqxDropDownList1').jqxDropDownList({
    source : dataAdapter,
    selectedIndex : 1,
    animationType : 'none',
    width : '149',
    height : '22',
    dropDownWidth : '700',
    displayMember : 'dis1',
    valueMember : 'val',
    disabled : false
    });
    source = {
    localdata : self.myData.arrayA,
    datatype : 'local'
    };
    dataAdapter = new jQuery.jqx.dataAdapter(source);
    jQuery('#jqxDropDownList1').jqxDropDownList({
    source : dataAdapter,
    selectedIndex : 1,
    animationType : 'none',
    width : '149',
    height : '22',
    dropDownWidth : '700',
    displayMember : 'dis1',
    valueMember : 'val',
    disabled : false
    });
    source = {
    localdata : self.myData.arrayB,
    datatype : 'local'
    };
    dataAdapter = new jQuery.jqx.dataAdapter(source);
    in reply to: jqxdropdownlist autoClose jqxdropdownlist autoClose #8316

    damc
    Participant

    Hi Peter,

    I initialize them by id.

Viewing 15 posts - 31 through 45 (of 55 total)