jQWidgets Forums

jQuery UI Widgets Forums Grid add features to cell text change

This topic contains 2 replies, has 2 voices, and was last updated by  jose Ivan 12 years, 11 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • add features to cell text change #3545

    jose Ivan
    Member

    hi, i would like to implement a event like text change in a cell for example type text  so i was watchin’ the input text is hide until i edit over it , but i want to bind the event but really i don’t know when do it.I think in cellselect event but it doesn’t work because i see the input doesn’t show it….  for example a text editor call it like this…this is my first column.. i need this to filter information something like autocomplete but in text not in dropdownlist ….  thanks  i hope u answer…

     $("#textboxeditorjqxgridAccount").bind('textchange', function (event, previousText) {
                 alert("esta en el cellselect!");
      });
    add features to cell text change #3554

    Peter Stoev
    Keymaster

    Hi jose Ivan,

    There’s no textchange event in the Input tag. However, you can use the ‘keyup’ event instead. It is fired when the user presses a key inside the Input tag.

    For example:

    { text: 'First Name', columntype: 'textbox', datafield: 'firstname', width: 90,
    initeditor: function (row, cellvalue, editor) {
    editor.bind('keyup', function (event) {
    alert("key up");
    });
    }
    },

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    add features to cell text change #3555

    jose Ivan
    Member

    that’s awesome … it works for me that ‘s was looking for…. thanks…

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

You must be logged in to reply to this topic.