[CLOSED] How to pass all records of a store via DirectEvent/ExtraParam

  1. #1

    [CLOSED] How to pass all records of a store via DirectEvent/ExtraParam

    Hello,

    can anybody give me a short example how I can pass all records of a store to a directevent?

    Do I have to set that as ExtraParam?

    AFAIK it´s not possible to get the clientside record directly with the C# Store-Object/Class?
    Or is that possible now with 1.0?


    Regards,

    Martin
  2. #2

    RE: [CLOSED] How to pass all records of a store via DirectEvent/ExtraParam

    Hi,

    can anybody give me a short example how I can pass all records of a store to a directevent?


    Please see the following sample
    #/GridPanel/Miscellaneous/Submit_Two_Grids/


    AFAIK it´s not possible to get the clientside record directly with the C# Store-Object/Class?
    Or is that possible now with 1.0?



    We don't pass automatically a store's content with each request because a store can contains many records and that information can increase net traffic

  3. #3

    RE: [CLOSED] How to pass all records of a store via DirectEvent/ExtraParam

    Hi,

    I forgot to mention, that I am normally doing it exactly that way.
    That was the reason why I explicitely asked for retrieving the Store and not the Grid-Content.

    In my app I am using an non-Ext.NET-Control (www.ext-scheduler.com) in combination with Ext.NET-Stores.

    It works perfectly to use an Ext.NET store in the Ext-Scheduler,
    but I cannot use
    #{GridPanel1}.getRowsValues
    because the Ext-Scheduler-Grid does not provide getRowsValues
    And AFAIK getRowsValues is not a standard ExtJS-Grid-Function.

    Is it something special in Ext.NET?


    Regards,

    Martin
  4. #4

    RE: [CLOSED] How to pass all records of a store via DirectEvent/ExtraParam

    Hi,

    In this case, use 'getRecordsValues' of the store
    Store1.getRecordsValues()

Similar Threads

  1. Pass GridPanel or Store via DirectEvent/ExtraParam
    By slonati_adv in forum 2.x Help
    Replies: 1
    Last Post: Jun 18, 2012, 11:18 PM
  2. Replies: 2
    Last Post: Feb 28, 2012, 2:03 PM
  3. Replies: 2
    Last Post: Nov 11, 2011, 3:02 AM
  4. [CLOSED] Send all treepanel nodes to directevent as extraparam
    By KorsG in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Feb 09, 2011, 4:57 PM
  5. [CLOSED] Pass records of a store to a DirectMethod
    By macap in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jul 14, 2010, 3:00 PM

Posting Permissions