Results 1 to 2 of 2

Thread: no checkbox element in extjs 4.1?

  1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    15
    Vote Rating
    0
      0  

    Default no checkbox element in extjs 4.1?

    when i add check box to my form its look like check box
    but when i check it with firebug i discovered that its using "input type='button''
    and not checkbox, now i found a very nice css code to make an iphone like toggel button using checkbox
    element
    i could create a panel with html property as follow 'input type='checkbox' and apply my css on it
    but then i wont be able to listn to its event checked/unchecked
    any workaround??

  2. #2
    Sencha Premium User Tim Toady's Avatar
    Join Date
    Feb 2010
    Location
    Pennsylvania
    Posts
    605
    Answers
    67
    Vote Rating
    286
      0  

    Default

    Checkbox was just an image sprite last I checked. It wouldn't be difficult to alter the way it looks. I doubt css meant for a non-Ext checkbox would work. I would probably use a toggle button though if I wanted a toggle button...

    Also, if you are trying to develop a site for mobile devices, you want to use sencha touch.

Posting Permissions

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