1. #1
    Ext User
    Join Date
    Jul 2008
    Posts
    38
    Vote Rating
    0
    prext is on a distinguished road

      0  

    Default Disabling a row in a grid based on a condition.

    Disabling a row in a grid based on a condition.


    Hi,
    I have a following requirement,
    Need to disable entire row in grid based on a condition.

    For Example, the grid contains three columns and third column displays some status value "YES',"NO" and "CANCEL". Now my requirement is to disable the rows whose third column has status 'CANCEL'.

    I already have selection model implemented for my grid.
    Please let me know how to proceed.

    Thanks in advance!!!!!!!

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,901
    Vote Rating
    623
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    What do you mean by "disable"?
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Ext User
    Join Date
    Jul 2008
    Posts
    38
    Vote Rating
    0
    prext is on a distinguished road

      0  

    Default


    User should not be able to edit any field in that row.

  4. #4
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,901
    Vote Rating
    623
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Thread Participants: 1