Get data from GridPanel

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Get data from GridPanel

    <P class=MsoNormal style="MARGIN: 0in 0in 10pt"> Hi,
    I want to get data from grid panel as it is in the grid panel, for example, I got data from database and binded to store and I assigned that store to grid panel and I dynamically changed the caption of grid panel column header and I binded 10 columns and hided 4 columns in runtime. How to get the data currently in the grid panel

    With Regards
    SpeedStep
  2. #2

    RE: Get data from GridPanel

    Hi,

    You can use getRowsValues function of GridPanel (as in the following example)


    https://examples1.ext.net/#/GridPane...mit_Two_Grids/


    This function has the following signature
    function (selectedOnly, visibleOnly, dirtyOnly)


    So, to save only visible content use


    grid.getRowsValues(false, true)
  3. #3

    RE: Get data from GridPanel

    Hi,
    This is not working when i hide columns by right clicking column header and uncheck the checkbox for related columns

    best regards
    speedstep

Similar Threads

  1. [CLOSED] Move up/down gridpanel , delete gridpanel data can not work
    By gs_user in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 27, 2012, 12:37 AM
  2. Replies: 0
    Last Post: Feb 29, 2012, 1:44 AM
  3. Get data row from a GridPanel
    By cocci in forum 1.x Help
    Replies: 1
    Last Post: Nov 26, 2009, 5:20 PM
  4. Replies: 0
    Last Post: Jun 19, 2009, 4:18 AM
  5. Replies: 4
    Last Post: Nov 17, 2008, 8:16 AM

Posting Permissions