Show Editable TextBox for few rows in gridPanel

  1. #1

    Show Editable TextBox for few rows in gridPanel

    Hi all

    Can any one please help me how to implement

    i have 10 rows in the gridPanel and for the few rows based on the columns(Called as Rps =1) i need to display a textBox be default for that row else it should be readOnly

    Regards
    Praveen Nampally
  2. #2

    Hope this will help

    Quote Originally Posted by praveencat123 View Post
    Hi all

    Can any one please help me how to implement

    i have 10 rows in the gridPanel and for the few rows based on the columns(Called as Rps =1) i need to display a textBox be default for that row else it should be readOnly

    Regards
    Praveen Nampally
    Create a BeforeEdit Listener and in the handle put the code bellow

    if(e.record.rps != 1)
    e.cancel=true; 
    else 
    e.cancel=false;
  3. #3
    HI

    thank you very much its working

    Regards
    Praveen Nampally

Similar Threads

  1. Replies: 1
    Last Post: Jan 17, 2014, 3:43 PM
  2. [CLOSED] How to show mask for Editable GridPanel Update?
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 14, 2013, 2:57 PM
  3. [CLOSED] GridPanel.Rows.Changing Background Color of Rows
    By supera in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 01, 2012, 5:18 PM
  4. [CLOSED] Editable gridpanel - textbox with blank spaces - firefox
    By Hari_CSC in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 26, 2010, 7:19 AM
  5. Replies: 1
    Last Post: Mar 16, 2010, 3:58 PM

Tags for this Thread

Posting Permissions