jQWidgets Forums

Forum Replies Created

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

  • desper
    Participant

    UPDATE: I edited handleeditkeydown in jqxgrid.edit.js (we paid licence with scripts)

    this part

    for (var m = 0; m < self.columns.records.length; m++) {
                                                var column = self.getcolumnat(m);
                                                if (column.editable) {
                                                    datafield = column.datafield;
                                                    break;
                                                }
                                            }

    caused that edit started always on first column and I changed to
    datafield = arguments[1]._clickedcolumn

    and works it fine, but on decimal numbers when I start edit, it will write first number and second automatically write it after decimal separator.

    for ex I have f2 column and instead of 15,00 I will write (after pressing 1 and 5) 1,50

    This behavior is same without any changes in handlekeydown in singlecell selection mode


    desper
    Participant

    Hi Peter:
    1. When I put decimalDigits property to 0 I cannot write numbers with decimal separator etc. 23,54 (can write only 23)
    2. Where can I implement it, is there any .on(“focus”) event handler on jqxnumberinput? I tried in handlekeyboardnavigation, but element is focused later.
    3. If I do, it will start editing only in first column, even focused is other column in selected row.

    3 UPDATE: In selectionmode: singlecell works, in selectionmode: singlerow only in first column

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