jQWidgets Forums

jQuery UI Widgets Forums Grid Jqx grid number column issue

This topic contains 5 replies, has 2 voices, and was last updated by  Peter Stoev 10 years, 3 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • Jqx grid number column issue #65487

    basha
    Participant

    Hi,

    I have one number column. if i enter the value ‘sw3’ for that number column, then the jqx grid resetting the ‘sw3’ with 0. I want to disable this functionality. pls hel me asap.

    Jqx grid number column issue #65489

    Peter Stoev
    Keymaster

    Hi basha,

    In number column you can display only numbers. sw3 is not a number.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Jqx grid number column issue #65494

    basha
    Participant

    Hi Peter,

    I am so happy with your replay. But in my application i have save button and i have external validation code for that number column. i dont want to reset with 0. is there any property to disable above issue.

    Thanks

    Jqx grid number column issue #65495

    Peter Stoev
    Keymaster

    Hi basha,

    If you want to display non-numeric data in your columns, then use “string”, not “number” column.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Jqx grid number column issue #65507

    basha
    Participant

    Hi Peter,

    I got what you are saying. But as per my client requirement, we need to display the amount(number column) in the format of , separated (5,444,444,664.00). If i declare the number column as string, then we can’t display the amount in the format of , separation. I think some code is executing whenever we change the cell value. I am not able to capturing that event.

    Jqx grid number column issue #65509

    Peter Stoev
    Keymaster

    Hi basha,

    You can use cellsrenderer column function to render a cell value in a way of your choice. Please, look at the samples and documentation available on jqwidgets website about cellsrenderer.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.