1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    6
    Answers
    1
    Vote Rating
    0
    chemkb is on a distinguished road

      0  

    Default Answered: Multiple Grid for a single Data Store

    Answered: Multiple Grid for a single Data Store


    This is my first post.

    I want to display two grids at different tabs for the same data store. Grid one will display all the mandatory fields and grid two will display rest of the fields. I am also using RowEditor.

    My app is very similaar to roweditorgrid example. http://extjs.com/examples/#roweditorgrid

    Is this possible?

    Any examples or guidance would be highly appreciated.


  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,731
    Answers
    109
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    The ListStore is designed to be used in this way - create one, and pass it into the constructor of each grid. Each grid will then read and write the items in the store.

    Take a stab at it, and if you have trouble, paste what you have so other community members can try to help you out.

  3. #3
    Sencha User
    Join Date
    Oct 2011
    Posts
    6
    Answers
    1
    Vote Rating
    0
    chemkb is on a distinguished road

      0  

    Default


    Colin,

    As you mentioned I created a store and connected it to multiple grids. You can see it below:

    http://compressor-calculations.appspot.com/

    Thanks a lot for the direction.

    Ravi

  4. #4
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,731
    Answers
    109
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    Nice work! Now if only I remembered enough chemistry to know how to use such a tool...

    Your tabs looks slightly odd because something else on the page (style.css) is defining how <li> tags should look in certain cases, and is being too broad with it's application of this style. Other style oddities could also be caused by this file - keep this in mind as you refine the page. One alternative to changing style.css would be to strengthen gxt-all.css's reset code (at the top of the file) by making it specific to gxt elements, but this will need to be done carefully as to not break other components. Another would be to iframe part of the page's content.

Thread Participants: 1

Tags for this Thread

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..." hd porno faketaxi