1. #11
    Sencha User rothaar's Avatar
    Join Date
    Jul 2008
    Posts
    64
    Vote Rating
    1
    rothaar is on a distinguished road

      0  

    Default


    Thanks, mjlecomte. I think I've got it nearly formatted the way I want now.

    Another question for the forum, however. In looking at several examples found elsewhere, I'm having some trouble determining how to manipulate the CheckboxSelectionModel so that certain boxes render as checked on load. In my object (seen way back in the first post), each of my 'categories' has both a name and a boolean 'enabled' value. Ideally, that value would be used to determine the checked status of each of the categories when they display.

    Most of the examples I've found so far seem to be based on situations where all the boxes start as unchecked, and my attempts thus far to do something as simple as start with all of the boxes checked have returned error: "this.grid.store is null or not an object".

    Can anyone point me to an example where the CheckboxSelectionModel is used in a GridPanel to render certain boxes as checked on load? My forum searches haven't turned anything up yet.

  2. #12
    Ext User
    Join Date
    Jul 2007
    Location
    Florida
    Posts
    9,996
    Vote Rating
    5
    mjlecomte will become famous soon enough mjlecomte will become famous soon enough

      0  

    Default


    I don't use the checkBox selection model, but I use checkColumn plugin in my example that you might be able to reference for inspiration.

  3. #13
    Ext User
    Join Date
    Feb 2008
    Posts
    13
    Vote Rating
    0
    cirvine is on a distinguished road

      0  

    Default


    Quote Originally Posted by rothaar View Post
    What is the best method for vertically aligning each GridPanel within its 'cell'?
    Did you ever figure this out? I've spent the last couple of hours trying to get a table layout of GridPanels to vertical align...

Thread Participants: 2