jQWidgets Forums

jQuery UI Widgets Forums Grid more information

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 13 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • more information #3445

    jose Ivan
    Member

    hi i would like to know about numberinput in a grid ..what can i do …. because the only that i know is

    { text: 'Debe', datafield: 'Debe', width: 70, cellsalign: 'right', cellsformat: 'c2', columntype: 'numberinput',
    validation: function (cell, value) {
    return true;
    },
    initeditor: function (row, cellvalue, editor) {
    editor.jqxNumberInput({ digits: 3 });
    }
    },
    more information #3454

    Peter Stoev
    Keymaster

    The number input used in the Grid is the jqxNumberInput widget. You can read more about it here: jquery-number-input-getting-started.htm. In the initeditor function, called before the activation of the editor, you can set any of the supported property by the jqxNumberInput. The validation function is called when the edited value is validated. You can return true or false depending on whether the new value is valid or not.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.