[CLOSED] How to get all rows in GridPanel

  1. #1

    [CLOSED] How to get all rows in GridPanel

    Hi,

    I need to get all rows from my gridpanel, in server side.
    I don't want just the selected rows, I want all rows that I dragged to my gridpanel.
    How can I do that?

    Thank you in advance.

    my code:

    <ext:GridPanel 
                        ID="GridPanelClass" 
                        runat="server"
                        MultiSelect="true"
                        Flex="1"
                        Margins="0 0 0 3">
                        <Store>
                            <ext:Store ID="Store4" runat="server" DataSourceID="SqlDataSourceClassList">
                                <Model>
                                    <ext:Model ID="Model5" runat="server">
                                        <Fields>
                                            <ext:ModelField Name="IdCamp" />
                                            <ext:ModelField Name="CamName" />
                                        </Fields>
                                    </ext:Model>
                                </Model>
                            </ext:Store>
                        </Store>
                        <ColumnModel>
                            <Columns>
                                <ext:Column ID="CamName" runat="server" Width="120" DataIndex="CamName" />
                                <ext:Column ID="IdCamp" runat="server" Width="60" DataIndex="IdCamp" Visible="false"/>
                            </Columns>
                        </ColumnModel>                   
                        <View>
                            <ext:GridView ID="GridViewClass" runat="server">
                                <Plugins>
                                    <ext:GridDragDrop ID="GridDragDrop2" runat="server" DragGroup="secondGridDDGroup" DropGroup="firstGridDDGroup"/>
                                </Plugins>
                                <Listeners>
                                    <AfterRender Handler="this.plugins[0].dragZone.getDragText = getDragDropText;" Delay="1" />
                                    <Drop Handler="var dropOn = overModel ? ' ' + dropPosition + ' ' + overModel.get('Name') : ' on empty view';" />
                                </Listeners>
                            </ext:GridView>
                        </View>   
                    </ext:GridPanel>
    Last edited by Daniil; Jun 23, 2014 at 9:15 AM. Reason: Please use [CODE] tags, [CLOSED]
  2. #2
    Hi @debarry,

    Welcome to the Ext.NET forums!

    Please look at this example.
    http://examples2.ext.net/#/GridPanel...mit_Two_Grids/
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi @debarry,

    Welcome to the Ext.NET forums!

    Please look at this example.
    http://examples2.ext.net/#/GridPanel...mit_Two_Grids/
    Thanks!
    That helped!!

Similar Threads

  1. [CLOSED] GridPanel.Rows.Changing Background Color of Rows
    By supera in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 01, 2012, 5:18 PM
  2. Replies: 1
    Last Post: Oct 13, 2010, 11:09 PM
  3. How to get all rows of a gridpanel
    By vikramsahai08 in forum 1.x Help
    Replies: 2
    Last Post: Jul 02, 2009, 1:44 PM
  4. Rows of GridPanel
    By egof in forum 1.x Help
    Replies: 4
    Last Post: Oct 14, 2008, 3:51 PM
  5. Getting Rows of GridPanel
    By egof in forum 1.x Help
    Replies: 0
    Last Post: Oct 13, 2008, 9:22 PM

Tags for this Thread

Posting Permissions