Expanding rows of Grid control at page load

  1. #1

    Expanding rows of Grid control at page load

    I have a grid control which has row expander assosiated with it. In the grids ViewReady.Handler event expandAll() function is called which makes call to DirectMethod and expands the row. The problem is that if there are 100 rows then the DirectMethod will be called 100 times when expandAll() function executes.

    I want to expand all the rows in a single call at the page load itself. Pls suggest how this can be acheived.
  2. #2
    Hi @dkhandelwal,

    Welcome to the Ext.NET forums!

    That is an interesting requirement. Unfortunately, there is no option to make all requests in one shot. Also I am not quite able to suggest anything without better knowledge of your scenario. The first thing that I would like to clarify - if you need everything to be expanded on initial page load, then, maybe, you don't need a DirectMethod at all?

Similar Threads

  1. [CLOSED] Expanding many rows at the same time
    By redi in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Sep 03, 2014, 10:05 AM
  2. Grid load all records on firts page (on load)
    By equiman in forum 1.x Help
    Replies: 0
    Last Post: Nov 21, 2013, 6:18 PM
  3. [CLOSED] Preventing grid rows from expanding
    By peter.campbell in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 26, 2012, 1:36 PM
  4. how to load data to grid panel in page load
    By andylaiyongsing in forum 1.x Help
    Replies: 1
    Last Post: Apr 16, 2010, 10:27 AM
  5. Load Grid with X amount of empty rows
    By Tbaseflug in forum 1.x Help
    Replies: 0
    Last Post: Sep 19, 2009, 1:06 PM

Tags for this Thread

Posting Permissions