Get data from GridPanel

  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)


    http://examples1.ext.net/#/GridPanel...mit_Two_Grids/


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


    So, to save only visible content use


    grid.getRowsValues(false, true)
    Vladimir Shcheglov
    Sr. Developer
  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. Replies: 2
    Last Post: Jul 27, 2012, 1:37 AM
  2. Replies: 0
    Last Post: Feb 29, 2012, 2:44 AM
  3. Get data row from a GridPanel
    By cocci in forum 1.x Help
    Replies: 1
    Last Post: Nov 26, 2009, 6:20 PM
  4. Replies: 0
    Last Post: Jun 19, 2009, 5:18 AM
  5. Replies: 4
    Last Post: Nov 17, 2008, 9:16 AM

Posting Permissions