1. #1
    Sencha User
    Join Date
    Mar 2013
    Posts
    12
    Vote Rating
    0
    marri is on a distinguished road

      0  

    Default How to load a grid with out any data in it even though store had data ?

    How to load a grid with out any data in it even though store had data ?


    Hi,
    I am new to extjs and i had a requirement to show a grid with Add functionality and with out any data(even though store had data) when ever user clicks on Add button a empty record has to be added to the grid with row editor, after entering data to that empty record on Update button click record as to be saved to store and grid should become empty.

    Any help on this will be highly appreciated.

    Thanks in advance.

    Regards
    Marri

  2. #2
    Sencha Premium Member vadimv's Avatar
    Join Date
    Sep 2010
    Location
    Chisinau, Moldova
    Posts
    647
    Vote Rating
    25
    vadimv will become famous soon enough vadimv will become famous soon enough

      0  

    Default


    Why not to use a form for this.

  3. #3
    Sencha User
    Join Date
    Mar 2013
    Posts
    12
    Vote Rating
    0
    marri is on a distinguished road

      0  

    Default


    Thanks for your response vadimv,
    Why i am trying to use grid is user can add multiple records in single operation and also user can edit from grid after Update.
    Actually i am using a popup window to show this grid.

    Please share if any sample code or links.

    Thanks

  4. #4
    Sencha Premium Member vadimv's Avatar
    Join Date
    Sep 2010
    Location
    Chisinau, Moldova
    Posts
    647
    Vote Rating
    25
    vadimv will become famous soon enough vadimv will become famous soon enough

      0  

    Default


    in this case just use another store, clear it after you copy the records in the base one and you will achieve what you want.

  5. #5
    Sencha User
    Join Date
    Mar 2013
    Posts
    12
    Vote Rating
    0
    marri is on a distinguished road

      0  

    Default


    I am entirely new to extjs, please can you share any sample code for the same.

  6. #6
    Sencha Premium Member vadimv's Avatar
    Join Date
    Sep 2010
    Location
    Chisinau, Moldova
    Posts
    647
    Vote Rating
    25
    vadimv will become famous soon enough vadimv will become famous soon enough

      0  

    Default


    All entirely new extjs users start with reading the guides and looking trough examples.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar