[CLOSED] Error when da DataSource of GridPanel.Store is empty (datareader datasource)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] Error when da DataSource of GridPanel.Store is empty (datareader datasource)

    I am trying to do a generic search control...
    For this, I follow two examples:

    Grid and Store reconfigure
    https://examples2.ext.net/#/GridPane...e_Reconfigure/

    and

    System.Data DataReader
    https://examples2.ext.net/#/GridPane...ta/DataReader/

    It's working beautifully if the datareader contains records... but if datareader returns empty, a error occurs.

    Attachment 3790

    The result.script contains this text:
    SuperaWeb.SGAC.Dividas.wndDividasDetail_wndEmpresasSGE_sdtCidade_storeSearchData.proxy.data = ;SuperaWeb.SGAC.Dividas.wndDividasDetail_wndEmpresasSGE_sdtCidade_storeSearchData.load();
    The search control code is very complex. It's a little hard for me to have a working example...

    So I'd like a hint of what I could do when it comes dataReader empty ... some value that I can set to Store.DataSource or something

    Thanks for any help.
    Last edited by Daniil; Feb 01, 2012 at 11:59 AM. Reason: [CLOSED]

Similar Threads

  1. GridPanel, Store, DataSource - passing Keys
    By alexua in forum 2.x Help
    Replies: 0
    Last Post: Jul 16, 2012, 8:10 PM
  2. Gridpanel with datasource shows empty rows
    By darylpeeters in forum 2.x Help
    Replies: 2
    Last Post: May 31, 2012, 1:03 PM
  3. [CLOSED] ComboBox / Store / DataSource : Store.DataSource is NULL
    By wagger in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Apr 24, 2011, 10:09 AM
  4. Replies: 1
    Last Post: Jul 23, 2010, 10:02 PM
  5. Replies: 0
    Last Post: Jun 26, 2009, 11:32 AM

Posting Permissions