Password Format in a cell from GridPanel

  1. #1

    Password Format in a cell from GridPanel

    Hello

    Is there a way for the cell in the gridpanel to mask a password in example *****

    Thanks
    Last edited by geoffrey.mcgill; Feb 12, 2013 at 9:29 PM.
  2. #2
    Just use TextField (as cell Editor) with
    
    InputType="Password"
  3. #3
    Quote Originally Posted by Vladimir View Post
    Just use TextField (as cell Editor) with
    
    InputType="Password"

    Thank you Vladimir, but I want to set up the Password mask to an unique cell depending of another cell value, can I do this with the Renderer option?

    For Example:

    <ColumnModel ID="ColumnModel1" runat="server">
            <Columns>
                   <ext:Column Header="Nombre" ColumnID="Nombre" DataIndex="Nombre" Sortable="true" Width="200" >
                          <Editor>
                                <ext:TextField ID="configuracionNombreTextField" runat="server" AllowBlank="false" SelectOnFocus="true" />
                          </Editor>
                   </ext:Column>
                   <ext:Column Header="Valor" ColumnID="Valor" DataIndex="Valor" Sortable="true" Width="200" >
                          <Editor>
                                <ext:TextField ID="configuracionValorTextField" runat="server" AllowBlank="false"  SelectOnFocus="true" />
                          </Editor>
                          <Renderer Handler="if(record.data.Nombre == 'Password') { //put the Password mask, but how? }" />
                   </ext:Column>
             </Columns>
    </ColumnModel>
    Thank you in advance

Similar Threads

  1. [CLOSED] How to format one grid cell info based on other cell info?
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 01, 2013, 2:12 PM
  2. Replies: 1
    Last Post: Jul 10, 2012, 11:16 AM
  3. Implement a Password Meter to a Password Field
    By sudantha in forum 1.x Help
    Replies: 1
    Last Post: Jan 15, 2012, 6:59 AM
  4. Password column in gridpanel
    By Richardt in forum 1.x Help
    Replies: 0
    Last Post: Feb 09, 2011, 8:18 AM
  5. [CLOSED] [1.0] Dynamically format GridCommand cell and button
    By betamax in forum 1.x Legacy Premium Help
    Replies: 10
    Last Post: Jan 19, 2011, 6:19 PM

Tags for this Thread

Posting Permissions