jQWidgets Forums

jQuery UI Widgets Forums Grid jqxGRid

This topic contains 7 replies, has 2 voices, and was last updated by  Peter Stoev 11 years, 1 month ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    jqxGRid Posts
  • jqxGRid #53967

    deepak_chaurasia
    Participant

    Hi Team,
    there are few methods available in columns like cellValuechanging , begincelledit , endcelledit , but they are called when user clicks on some other cell in that grid , I want to know is there any way by which i can detect the changes that user is doing without forcing him to click at anyother place?

    jqxGRid #53968

    Peter Stoev
    Keymaster

    Hi deepak_chaurasia,

    Editing starts with click or F2 key press and ends with click outside the edit cell or Enter/Esc key press. While you are in edit mode, you can validate user’s input using the column’s validation callback function.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    jqxGRid #54006

    deepak_chaurasia
    Participant

    Hi ,
    Can you please provide me an example so i can get a better understanding of it.

    jqxGRid #54008

    Peter Stoev
    Keymaster

    Hi deepak_chaurasia,

    It is demonstrated in this sample: http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/cellediting.htm?arctic

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    jqxGRid #54015

    deepak_chaurasia
    Participant

    Hi Team,
    scenario in my case is that i want to validate what user has entered the moment he is entering , I mean for example we have a column which is a textbox in edit mode , i want to check value entered on every key press

    jqxGRid #54016

    Peter Stoev
    Keymaster

    Hi deepak_chaurasia,

    Ok, I understand, but that is what we can suggest you as editing modes.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    jqxGRid #54018

    deepak_chaurasia
    Participant

    Hi Peter,
    I got the example , but if we take Quantity column as an example , error validation message is displayed only if we click on some other cell , Is there any way to display that message as soon as validation fails , I mean without clicking on another cell.

    jqxGRid #54019

    Peter Stoev
    Keymaster

    Hi deepak_chaurasia,

    Validation function is checked when you try to leave the edit mode so no there’s no way to force is to be called through API.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.