Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: Tri-state checkbox for ExtJs 4.0

  1. #11
    Ext JS Premium Member
    Join Date
    Jun 2011
    Posts
    274
    Vote Rating
    7
      0  

    Default

    So selling some work as a learning-lesson is always a nice try

    My first try: http://www.sencha.com/forum/showthre...ckbox&p=619810

  2. #12
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Vote Rating
    1271
      0  

    Default

    Quote Originally Posted by ontho View Post
    So selling some work as a learning-lesson is always a nice try

    My first try: http://www.sencha.com/forum/showthre...ckbox&p=619810
    Nice... looks like it should work. One tip, your enableTriState method could be toggleTriState. Also would be good to add documentation, that's the fun part! lol
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #13
    Ext JS Premium Member
    Join Date
    Jun 2011
    Posts
    274
    Vote Rating
    7
      0  

    Default

    Documentation? What exactly was that?!

  4. #14
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Vote Rating
    1271
      0  

    Default

    Quote Originally Posted by ontho View Post
    Documentation? What exactly was that?!
    lol Exactly! Best thing for a dev but worst thing to do as a dev
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  5. #15
    Ext JS Premium Member
    Join Date
    Jun 2011
    Posts
    274
    Vote Rating
    7
      0  

    Default

    True.

    Okay, I added some documentation, I guess things like "getSubmitValue" should be clear.

    I added a toggleTriState, but would like to keep the enableTriState (because I need that in my code).

  6. #16
    Ext JS Premium Member stevil's Avatar
    Join Date
    Nov 2007
    Location
    Denver, CO
    Posts
    1,045
    Vote Rating
    10
      0  

    Default

    Quote Originally Posted by mitchellsimoens View Post
    Nice... looks like it should work. One tip, your enableTriState method could be toggleTriState. Also would be good to add documentation, that's the fun part! lol
    @mitchell, we can always count on you to consider the fun of others first!

    stevil

  7. #17
    Sencha User
    Join Date
    Sep 2012
    Posts
    83
    Vote Rating
    6
      0  

    Default

    Soooo did the tri-state checkbox make it into 4.1? I'm not seeing anything about it in the documentation, but figured I would check.

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •