Results 1 to 3 of 3

Thread: how to create a column with strings and checkboxes using GXT 3

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

    Default how to create a column with strings and checkboxes using GXT 3

    how to create a column with strings and checkboxes using GXT 3 and i want to change the editor based on the value i.e.. if cell value contains string it has to show textfield as editor, else it has to show checkbox.

    I know how to create checkbox column but i want a column with strings and checkbox both.

    Thanks in advance

  2. #2
    Ext GWT Premium Member icfantv's Avatar
    Join Date
    Sep 2011
    Location
    Superior, CO
    Posts
    413
    Answers
    20
    Vote Rating
    21
      0  

    Default

    Sounds like you want a custom cell, but the trick here is that you lose the ability to use GWT/GXT widgets classes because you're mucking around in the render(...) method. That said, if you're happy doing the work yourself, check out XTemplates as they can conditionally create HTML. Your custom cell will probably need to extend AbstractCell.

    If you need event handlers on this cell let me know and I can show you some of the options available to you.

  3. #3
    Sencha User
    Join Date
    Nov 2012
    Posts
    1
    Vote Rating
    0
      0  

    Default

    Hi, icfantv, can you explain how to make these complex cells? Thanks

Tags for this Thread

Posting Permissions

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