1. #1
    Sencha User
    Join Date
    Nov 2012
    Posts
    88
    Vote Rating
    0
    newusername is on a distinguished road

      0  

    Default storing data in store to be get displayed in grid

    storing data in store to be get displayed in grid


    Hi ,

    I have a button , clicking on which I need to go to server fetch data from database and when it comes back I need to show that data into Grid . How Can I achieve this using GridPanel ? Please put some code for better understanding...

    Thanks

  2. #2
    Sencha User
    Join Date
    Jan 2011
    Posts
    544
    Vote Rating
    52
    willigogs is a jewel in the rough willigogs is a jewel in the rough willigogs is a jewel in the rough

      0  

    Default


    Here's an example:
    http://dev.sencha.com/deploy/ext-3.4...l/restful.html

    Basically you will setup a store, and connect that to your grid. Then on clicking the button simply perform store.load(). In the example above, the store.load() function is called on page load - but you'd simply move that onto a button handler.

    Alternatively you can perform a manual ajax request, then insert the returned data into the store with store.loadData().

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."