jQuery UI Widgets Forums Plugins Validator, Drag & Drop, Sortable grid columns validation

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 8 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • grid columns validation #85006

    atomic
    Participant

    Hi guys,

    I am using jqx grid with cell validation n it is working fine.
    now I would like to validate sum of values in one column of grid before submiting ajax.
    Is there column validation or I should implement this using $("#jqxgrid").jqxGrid('getrows'); and loop through elements….
    I am entering percentage shares in one column, so sum should always be 100. or just check if column is empty before submiting.
    If it is not implmeneted, my humble opinion is that it would be nice feature.
    Thank you

    grid columns validation #85090

    Dimitar
    Participant

    Hi atomic,

    Unfortunately, the built-in jqxGrid validation is cell-based only. You would have to create your own custom validation, but instead of iterating through all rows, we suggest you get the sum of all cell values in the column with the method getcolumnaggregateddata.

    Best Regards,
    Dimitar

    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.