[CLOSED] Row Selection in Grid panel

  1. #1

    [CLOSED] Row Selection in Grid panel

    Hi,
    i am using portal page, in that one there is two tab, in the first tab i am showing the record in grid panel, in the second tab i am showing the record in report format for the selected row in first tab. my problem is, i am loading the record in grid panel in first tab, when i selected a row, it is selected within a second.after that i loaded second tab and showed the report for the selected row. when i come again to grid panel, if i select a row in grid panel it takes 6 to 7 seconds.

       
    
    <ext:GridPanel ID="GrdPnl1" StoreID="Sto1" runat="server" StripeRows="true" Border="true" SelectionMemory="Enabled" 
    
    TrackMouseOver="true" MaskDisabled="false">
    
    <ColumnModel ID="ColumnModel2" runat="server">
    
    <Columns>
    
    </Columns>
    
    
    
    </ColumnModel>
    
    <SelectionModel>
    
    <ext:CheckboxSelectionModel HideCheckAll="true" SingleSelect="true" ID="CheckboxSelectionModel1" runat="server">
    
    <Listeners>
    
    <RowDeselect Handler="Tab2disable();"></RowDeselect>
    
    <RowSelect Handler="if(Ext.isEmpty(record.data.sys_id, false) &amp;&amp; Ext.isEmpty(record.data.order_no, false)){return false;}" />
    
    </Listeners>
    
    <AjaxEvents>
    
    <RowSelect OnEvent="SubmitSelection" ShowWarningOnFailure="false" Timeout="120000"
    
    Success="window.Tab2enable();">
    
    </RowSelect>
    
    </AjaxEvents>
    
    </ext:CheckboxSelectionModel>
    
    </SelectionModel>
    
    <Plugins>
    
    <ext:GridPanelMaintainScrollPositionOnRefresh ID="GridPanelMaintainScrollPositionOnRefresh1"
    
    runat="server">
    
    </ext:GridPanelMaintainScrollPositionOnRefresh>
    
    <ext:GridFilters runat="server" ID="GridFilters1" Local="true"> 
    
    <Filters>
    
    </Filters>
    
    </ext:GridFilters>
    
    </Plugins>
    
    <BottomBar>
    
    <ext:PagingToolbar ID="PagingToolBar1" runat="server" StoreID="Sto1" DisplayInfo="true" >
    
    </ext:PagingToolbar> 
    
    </BottomBar>
    
    </ext:GridPanel>
    
    
    
    
    
    
    protected void SubmitSelection(object sender, AjaxEventArgs e)
    
    {
    
    RowSelectionModel Row = sender as RowSelectionModel; 
    
    int current_page = PagingToolBar1.PageIndex;
    
    current_page = ((current_page - 1) * PagingToolBar1.PageSize) + Row.SelectedIndex;
    
    int index = current_page;
    
    string ID = Row.SelectedRecordID;
    
    } 
    i am binding grid panel dynamically
    </PRE>
  2. #2

    RE: [CLOSED] Row Selection in Grid panel

    Hi,

    I doubt that I can reproduce the problem based your code. We need self-sufficing example which reproduces the problem. What you mean "if i select a row in grid panel it takes 6 to 7 seconds."? Is it mean that selection highlight occurs after 6-7 sec after click or something else?
  3. #3

    RE: [CLOSED] Row Selection in Grid panel

    Hi,
    When i select a row in grid panel, loading mask is loaded for 6 - 7 seconds, after that the selected row is highlighted. i used paging concept and i am having nearly 20 pages and page size is 50
  4. #4

    RE: [CLOSED] Row Selection in Grid panel

    Hi,

    It is mean that ajax request performing 6-7 seconds. It is depends from what you are doing on server-side. We need example to test. Please create simple and post it

Similar Threads

  1. Grid Panel Selection Model
    By a_elsayed2010 in forum 1.x Help
    Replies: 7
    Last Post: Dec 26, 2013, 6:01 AM
  2. [CLOSED] Input Grid Panel Row selection in V1.0
    By speedstepmem4 in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Aug 03, 2011, 9:04 AM
  3. [CLOSED] Grid Panel - Disable Selection
    By GavinR in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jun 03, 2011, 4:02 PM
  4. [CLOSED] Row Selection in grid panel
    By speedstepmem4 in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Aug 13, 2009, 7:13 AM
  5. Replies: 1
    Last Post: Jan 23, 2009, 6:43 AM

Posting Permissions