1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    27
    Vote Rating
    0
    sudhanshubest is on a distinguished road

      0  

    Default facing issue on cell edit

    Hi,

    I am facing issue when doing cell edit in grid.
    I assign classes for each cloumn of grid in afterrender method of ext component but when i am doing any action on grid like cell edit or adding new row then these classes lost from all coloumns of grid.
    Could you guys please tell us why this is happening and what we can do in order to retain classes assigned earlier.

    Thanks,
    Sudhanshu

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,320
    Vote Rating
    486
    scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute

      0  

    Default

    You should create a renderer for each column so it is updated each time. Your current approach is only updating after the initial rendering.

    Scott.

Thread Participants: 1