Getting the value of multiple columns of selected row of a grid panel

  1. #1

    Getting the value of multiple columns of selected row of a grid panel

    I have a grid panel and i want to get the value of multiple columns of a selected row.

    I have button and on click of that button i am opening a new window, to which i want to pass the values of two columns of selected row.

    As if now i am getting the value of the Note ID from the ID property

     <ext:Button ID="btnEditNote" runat="server" Text="Edit Notes" Icon="ApplicationEdit" Visible ="false" >
                            <Listeners>
                                <Click Handler="if(#{extGrd}.getSelectionModel().getSelected()){OpenWindow('../Note.aspx?NoteID=#{extGrd}.getSelectionModel().getSelected().id)+'&iSFA='+#{extGrd}.getSelectionModel().getSelected().id);}" />
                            </Listeners>
                        </ext:Button>
    How would i get the value of other column of selected row of the grid.

    Please help.

    It is a very urgent issue,
    Thanks
    Last edited by Baidaly; Jan 17, 2013 at 1:39 AM. Reason: Please, use [CODE] tag
  2. #2
    Hello!

    Please, take a look at this example and the ExtraParam Values of Submit with values button: https://examples2.ext.net/#/GridPane...Row_Selection/

    P.s. Please, use CODe tag. http://forums.ext.net/showthread.php...ing-New-Topics

Similar Threads

  1. Problem with adding columns to a grid panel
    By msavery in forum 1.x Help
    Replies: 0
    Last Post: Sep 19, 2012, 8:26 PM
  2. Export to excel: Grid Panel with multiple pages.
    By breakyoheart in forum 2.x Help
    Replies: 0
    Last Post: Aug 02, 2012, 8:09 PM
  3. Multiple Row Selection Grid Panel with out ctrl key
    By AnandVishnu in forum 1.x Help
    Replies: 2
    Last Post: Oct 03, 2011, 10:08 AM
  4. [CLOSED] Vertical Columns plus multiple horizontal row headers in grid
    By craig2005 in forum 1.x Legacy Premium Help
    Replies: 9
    Last Post: Aug 30, 2011, 6:36 PM
  5. Grid Panel / Is it possible to merge columns?
    By eqttester in forum 1.x Help
    Replies: 1
    Last Post: Mar 22, 2011, 10:20 PM

Posting Permissions