[CLOSED] Boolean value as Checkbox in a GridPanel

  1. #1

    [CLOSED] Boolean value as Checkbox in a GridPanel



    Just wanted to know if there's a way to show a Checkbox instead of boolean value in a GridPanel column. I'm not talking about SelectionModel. I just think it's more user-friendly to show a checkbox rather than a true/false value that is read only.

        <ext:Column DataIndex="IsApproved" Header="Approved" Width="130" >
            <Editor><ext:Checkbox ID="IsApproved" ReadOnly="true" runat="server"></ext:Checkbox></Editor>
        </ext:Column>
    I tried the code above but does not seem to work for me.
    Thanks,
    Jay
  2. #2

    RE: [CLOSED] Boolean value as Checkbox in a GridPanel

    Hi,

    You need use ext:CheckColumn


    Please see (bottom grid, column 'Discontinued')


    https://examples1.ext.net/#/GridPane...s/One-to-Many/


Similar Threads

  1. DirectMethod returning a boolean
    By mark39 in forum 1.x Help
    Replies: 2
    Last Post: Dec 15, 2011, 11:46 AM
  2. Replies: 3
    Last Post: Feb 09, 2011, 3:17 PM
  3. Replies: 4
    Last Post: Oct 06, 2010, 9:08 AM
  4. Replies: 1
    Last Post: Aug 13, 2009, 9:37 AM
  5. Replies: 3
    Last Post: May 14, 2009, 6:02 PM

Posting Permissions