[CLOSED] GridFilters - ListFilter Problem

  1. #1

    [CLOSED] GridFilters - ListFilter Problem

    GridFilters - ListFilter Problem

    I was working with the Ext.Net v2.4 and the next code lines it's working fine:

    <ext:GridFilters runat="server" Local="true">
       <Filters>
          <ext:StringFilter DataIndex="COL1" />
          <ext:StringFilter DataIndex="COL2" />
          <ext:ListFilter IDField="DESCRIPCION" DataIndex="TIPO" StoreID="StoreTipo" LabelField="DESCRIPCION">
             <Listeners>
                <Deactivate Handler="this.menu.items.each(function (item) {item.setChecked(false);});" />
             </Listeners>
          </ext:ListFilter>
       </Filters>
    </ext:GridFilters>
    I updated the Ext.Net version to v2.5 and the app gives me the next error:

    not controlled exception in line 84, colum 13 en http://localhost:37967/ux/grid/gridf...xt.axd?v=30649
    0x800a01b6 - Microsoft JScript runtime error: Object doesn't support property or method 'getCount'
    if(this.store.getCount() > 0) <--- Line with the problem
    {
       this.onLoad(this.store, this.store.getRange());
    } 
    else 
    {
       this.add({text: this.loadingText, iconCls: 'loading-indicator'});            
       this.store.on('load', this.onLoad, this);
    }
    I put comments in the code-line that use "ListFilter" and it works fine

    
    <ext:GridFilters runat="server" Local="true">
       <Filters>
          <ext:StringFilter DataIndex="COL1" />
          <ext:StringFilter DataIndex="COL2" />
          <%-- <ext:ListFilter IDField="DESCRIPCION" DataIndex="TIPO" StoreID="StoreTipo" LabelField="DESCRIPCION">
             <Listeners>
                <Deactivate Handler="this.menu.items.each(function (item) {item.setChecked(false);});" />
             </Listeners>
          </ext:ListFilter> --%>
       </Filters>
    </ext:GridFilters>
    Any help is appreciated.
    Last edited by Daniil; Mar 13, 2014 at 5:42 AM. Reason: Please use [CODE] tags, [CLOSED]
  2. #2
    It is fixed after 2.5 release, please update from SVN or use the override from the following post
    http://forums.ext.net/showthread.php...l=1#post127791
    Vladimir Shcheglov
    Sr. Developer
  3. #3
    Thanks Vladimir, for your responses. I solved the problem with this thread.

Similar Threads

  1. Replies: 5
    Last Post: Feb 11, 2014, 4:14 AM
  2. Replies: 1
    Last Post: Feb 10, 2014, 1:05 PM
  3. [CLOSED] Update GridFilters ListFilter Store Server-Side
    By jwhitmire36 in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Dec 23, 2013, 2:44 PM
  4. [CLOSED] ListFilter problem
    By vadym.f in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jun 12, 2012, 12:51 PM
  5. Replies: 1
    Last Post: Oct 19, 2011, 7:28 AM

Posting Permissions