jQWidgets Forums

jQuery UI Widgets Forums Grid Computed column

This topic contains 2 replies, has 2 voices, and was last updated by  alexz 12 years ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Computed column #15613

    alexz
    Member

    Hi, can I add custom computed column to grid, say, I have amount and price fields in my json data, and I want to show sum column = amount * price?

    Thanks, Alex

    Computed column #15628

    Peter Stoev
    Keymaster

    Hi Alex,

    Here is a sample with “computed” column: bindingtoarray.htm. If you are binding the Grid to a remote source, you can use the jqxDataAdapter’s “beforeLoadComplete” function and loop through the records to build a computed column.

    Hope this helps.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Computed column #16213

    alexz
    Member

    Thanks, it works!

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

You must be logged in to reply to this topic.