[CLOSED] Delay in gridpanel loading

  1. #1

    [CLOSED] Delay in gridpanel loading

    Hi Team,

    we have form for mastar detail view.we have a gridpanel in upper portion and detailsview in lower portion.
    When user select a row we are showing details associated with record.

                              <SelectionModel>
                                        <ext:RowSelectionModel ID="RowSelectionModel1" runat="server" SingleSelect="true">
                                            <Listeners>
                                                <RowSelect Handler="getDetails(record);"  Delay="1000"/>
                                            </Listeners>
                                            <AjaxEvents>
                                                <RowSelect OnEvent="GetRecord">
                                                    <EventMask Msg="Loading.."   ShowMask="true"/>
                                                </RowSelect>
                                            </AjaxEvents>
                                        </ext:RowSelectionModel>
                                    </SelectionModel>
    every thing works fine when user selects record by mouse.issues arise when user selects record by
    using up and down arrow keys on key board very fast.for each record selection it will give a call to the
    database and fetches details.so it is unnecessary.can we avoid it?

    We have tried with EventMask but user is still able to select records while data is being loaded.
    Can we restrict the user from selecting the record while data is being loaded.

    Thanks &amp; Regards,
    YobNet Team.
  2. #2

    RE: [CLOSED] Delay in gridpanel loading

    we are using coolite 0.8 version.
  3. #3

    RE: [CLOSED] Delay in gridpanel loading

    Hi,

    Please set Buffer="500" for the listener and ajax event

    buffer : Number
    Causes the handler to be scheduled to run in an Ext.util.DelayedTask delayed by the specified number of milliseconds. If the event fires again within that time, the original handler is not invoked, but the new handler is scheduled in its place.
  4. #4

    RE: [CLOSED] Delay in gridpanel loading

    working fine.

    Thanks,
    YobNet Team

Similar Threads

  1. [CLOSED] Delay loading of data
    By cwolcott in forum 2.x Legacy Premium Help
    Replies: 8
    Last Post: Aug 08, 2012, 4:20 PM
  2. Delay User Control from loading
    By cwolcott in forum 2.x Help
    Replies: 1
    Last Post: May 21, 2012, 1:54 PM
  3. Gridpanel delay loading
    By vahid.ch in forum 1.x Help
    Replies: 1
    Last Post: Dec 19, 2011, 8:33 AM
  4. Replies: 2
    Last Post: Oct 04, 2011, 2:39 AM
  5. [CLOSED] Mask delay and when component is ready loading?
    By state in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 15, 2009, 6:59 PM

Posting Permissions