1. #1
    Sencha User
    Join Date
    Dec 2014
    Vote Rating
    smitpatel is on a distinguished road


    Default Not able to insert record at 0th position after applying filter

    When i insert record using store.insert(0,model), i am able to insert record properly but after applying filter, i am unable to insert record at 0th position. can anyone suggest how to insert record at first index even after applying filter?

    Few questions:
    1) can we disable column filter after adding new record on filtered column until save of new record?
    2) when we applied filter and then clear the filter, some times record is going to insert at last, so what could be the problem?

    Test case:
    Add some record using add button. after that apply filter on id column and try to add record using add btn. it is not adding in grid.

    eg: https://fiddle.sencha.com/#fiddle/tcl

  2. #2
    Sencha - Support Team tristan.lee's Avatar
    Join Date
    Mar 2015
    Vote Rating
    tristan.lee is a jewel in the rough tristan.lee is a jewel in the rough tristan.lee is a jewel in the rough



    Thanks for reporting this. I have created bug report EXTJS-19225 in our system.
    Tristan Lee
    Sencha Inc - Support Engineer

    Having an issue? Help us help you - be detailed; provide some code; demonstrate with a fiddle (fiddle.sencha.com)

    Embed your fiddle in your post: [­FIDDLE] id [­/FIDDLE]

Similar Threads

  1. Replies: 1
    Last Post: 22 Mar 2012, 1:37 AM
  2. Replies: 4
    Last Post: 17 May 2009, 7:26 AM
  3. Ext.data.Store after insert record, filter method does not work
    By thinplum2008 in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 26 Aug 2008, 5:38 AM

Thread Participants: 1