jQWidgets Forums

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: bug with non-english input bug with non-english input #19416

    btpy
    Member

    if you are still interested, check this:
    jqxnumberinput.js

    _handleKeyDown
    _handleSimpleKeyDown

    near
    if (o == 190 || o == 110)
    there is another key code that fails: 191

    in reply to: bug with non-english input bug with non-english input #19273

    btpy
    Member

    upd – use Chrome
    1. russian
    2. numberinput.js tells me that version is 2.5.5

    in reply to: cell – dropdownlist issue cell – dropdownlist issue #18597

    btpy
    Member

    Thank you, I’ll try this way!

    in reply to: cell – dropdownlist issue cell – dropdownlist issue #18515

    btpy
    Member

    So, do I need to include to that function all possible work with the list?
    And, for example, if I need to block certain element in the next few cells depending on the element I’ve chosen in this cell?
    e.g.:
    on.(‘cellclick’, function(event){
    $(this).jqxDropDownList(‘selectItem’, item)
    })
    and after I set this item I need either to destroy all other lists in a column or to disable some elements
    I just don’t know ho to perform this stuff

    in reply to: jqxDropDownList in jqxGrid jqxDropDownList in jqxGrid #17467

    btpy
    Member

    Oh, no.
    grid uses one adapter and List – another:

    var worksSource =
    {
    datatype: “json”,
    data: {“contractId”: contractId},
    datafields: [
    { name: ‘label’, type: ‘string’ },
    { name: ‘value’, type: ‘string’ }
    ],
    url: ‘/state/works/’
    };
    var worksAdapter = new $.jqx.dataAdapter(worksSource, {
    loadComplete: function () {
    // get data records.
    var records = dataAdapter.records;
    }
    });

    var source =
    {
    datatype: “json”,
    data: {“actId”: actId, “contractId”: contractId},
    datafields: [
    { name: ‘Act_Work_ID’ },
    { name: ‘Act_ID’ },
    { name: ‘Act_Work_Percent’ },
    { name: ‘Act_Work_Base_Price’ },
    { name: ‘Act_Work_Full_Price’ },
    { name: ‘Contract_Work_Name’ }
    ],
    url: ‘/state/workstable/’

    };

    var dataAdapter = new $.jqx.dataAdapter(source, {
    loadComplete: function () {
    // get data records.
    var records = dataAdapter.records;

    }
    });
    // initialize jqxGrid
    $(“#jqxgrid”).jqxGrid(
    {
    … the same code

    in reply to: jqxDropDownList in jqxGrid jqxDropDownList in jqxGrid #17464

    btpy
    Member

    I apologize if I’m understanding you wrong,
    but when take this:
    {
    editor.jqxDropDownList({ source: worksAdapter, displayMember: ‘label’, valueMember: ‘value’ });
    }, width:600
    and try to change displayMember and valueMember different ways, i get the same ‘getRows’ Array. In fact – the same select output in the grid

    in reply to: jqxDropDownList in jqxGrid jqxDropDownList in jqxGrid #17459

    btpy
    Member

    As for now I can only see the way out in making extra arrays and merging them or smth like that, but seems to me, that would be overkill.
    Isn’t there a method to get both params from ‘getRows’?
    or even only value

Viewing 7 posts - 1 through 7 (of 7 total)