jQWidgets Forums

jQuery UI Widgets Forums Grid Hidden fields out of jqxgrid

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  kghoshal 11 years, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Hidden fields out of jqxgrid #46283

    kghoshal
    Participant

    I’m using jqwidgets version 2.9.3. I have ID’s(guids) as a hidden column, in the jqxgrid. When I am trying to get the data from the grid in json, using, $(“#jqxGrid”).jqxGrid(‘exportdata’, ‘json’), it doesn’t return the data from the hidden column.

    I’d really appreciate if there is a resolution to this issue.

    Hidden fields out of jqxgrid #46286

    Mariya
    Participant

    Hi kghoshal,

    When you want to export data of the jqxGrid you can use ‘exportdata’ method with the following parameters:
    -the first parameter of the export method determines the export’s type – ‘xls’, ‘xml’, ‘html’, ‘json’, ‘tsv’ or ‘csv’.
    -the second parameter is the file’s name
    -the third parameter is optional and determines whether to export the column’s header or not
    -the fourth parameter is optional and determines the array of rows to be exported
    -the fifth parameter is optional and determines whether to export hidden columns. Acceptable values are – true and false. By default, the exporter does not export the hidden columns.
    -the sixth parameter is optional and determines the url of the export server
    -the last parameter is optional and determines the char set.

    Best Wishes,
    Mariya

    jQWidgets Team
    http://www.jqwidgets.com

    Hidden fields out of jqxgrid #46297

    kghoshal
    Participant

    Thanks a lot Mariya-that worked!

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

You must be logged in to reply to this topic.