1. #1
    Ext JS Premium Member christocracy's Avatar
    Join Date
    Oct 2006
    Location
    Montreal
    Posts
    380
    Vote Rating
    0
    christocracy is on a distinguished road

      0  

    Default multiple grids -- Column width cross-talk

    multiple grids -- Column width cross-talk


    setting up multiple grids on page.

    column-width specifications of grids are affecting each other.

    I've got so much stuff going on...can't even begin to wonder...
    maybe css.
    might fix itself once I get things settled.

  2. #2
    Ext User
    Join Date
    Mar 2007
    Posts
    123
    Vote Rating
    0
    techno_adi is on a distinguished road

      0  

    Default




    Open the grid.css and you would see a number of definitions like
    Code:
    .ygrid-col-0{
    }
    .ygrid-col-N{
    }
    Make these specific to your grids for as many cols you have for each different grid on your page
    Code:
    #gridid1 .ygrid-col-0{
    }
    #gridid2 .ygrid-col-0{
    }
    so on for the no of cols you have
    I hope this would solve the problem[/i][/code]

  3. #3
    Ext JS Premium Member christocracy's Avatar
    Join Date
    Oct 2006
    Location
    Montreal
    Posts
    380
    Vote Rating
    0
    christocracy is on a distinguished road

      0  

    Default cheers

    cheers


    Cheers, mate.

    as I suspected, things got fixed automagically.

    I love when that happens.

  4. #4
    Sencha User
    Join Date
    Mar 2007
    Posts
    62
    Vote Rating
    2
    ojintoad is on a distinguished road

      0  

    Default


    I heart the word "automagically".

  5. #5
    Ext User
    Join Date
    Mar 2007
    Posts
    60
    Vote Rating
    0
    irishdunn is on a distinguished road

      0  

    Default


    fixed automagically.
    i need some of that right now :cry:

  6. #6
    Ext User
    Join Date
    Mar 2007
    Posts
    225
    Vote Rating
    0
    seldon is on a distinguished road

      0  

    Default


    Im encountering this problem. Do I still have to add this stuff to the css?

  7. #7
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854
    Vote Rating
    2
    tryanDLS is on a distinguished road

      0  

    Default


    You still need css for each grid - see the first topic in the 'FAQ Submission' thread.

  8. #8
    Ext User
    Join Date
    Mar 2007
    Posts
    287
    Vote Rating
    0
    jarrod is on a distinguished road

      0  

    Default


    Hmm... since we're on the topic of multiple grids - any advice/suggestion or best practice for cloning of grids?

    e.g. you have an original gridpanel that is visible within a region's tab, and you want to replicate multiple copies of that grid into new tabs within that same region.

  9. #9
    Ext User
    Join Date
    Mar 2007
    Posts
    321
    Vote Rating
    0
    jbowman is on a distinguished road

      0  

    Default


    Create new grids using the same column and data models? If you want completely seperate interaction (ie: a change in once grid doesn't affect the others), you may need to figure out a way to copy the data model.

  10. #10
    Ext User
    Join Date
    Mar 2007
    Posts
    225
    Vote Rating
    0
    seldon is on a distinguished road

      0  

    Default


    Why does the code need the empty

    Code:
    #gridid1 .ygrid-col-0{ 
    } 
    #gridid2 .ygrid-col-0{ 
    }
    definitions? Im asknig this since i create the container elements for the grid at runtime. Im wondering if i can create these empty style in some way at run time too then? Any ideas on how to do that?

    Thnx

    Seldon

Similar Threads

  1. Column width messed up when I have 2 grids together
    By universe in forum Ext 1.x: Bugs
    Replies: 8
    Last Post: 2 Mar 2007, 11:59 AM
  2. Problem with column width with multiple grids on a page
    By SLerman in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 28 Feb 2007, 8:22 AM
  3. Column width problem when multiple grid on same page
    By Greeens in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 9 Feb 2007, 7:44 AM
  4. Multiple Grids on a Page, Column Adjust Problem?
    By rooster in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 8 Jan 2007, 1:42 PM
  5. Multiple Grids share the same column size
    By kjordan2001 in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 7 Nov 2006, 2:54 PM

Thread Participants: 8

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