Results 1 to 10 of 13

Thread: HowTo:remove the red mark in the EditorGrid field on edit?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default HowTo:remove the red mark in the EditorGrid field on edit?

    Hi All,

    While edit happening in the Ext.grid.EditorGrid's cell .. one red mark is appearing at top left corner of the cell.I dont want to show the red mark on Edit.. How can i achieve this.

    i am placing the screen shot of the same...

    Please any ideas ..

    Thanks in advance...
    Srinivas
    Attached Images Attached Images

  2. #2
    Sencha User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364

    Default

    Try looking @ the grid css. It's in there somewhere. you can inspect with firebug to get your answer.

  3. #3
    Sencha User VinylFox's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,501

    Default

    This seems like an easy way.

    Code:
    grid.on('afteredit', afterEdit, this );
    function afterEdit(val) {
        val.record.commit();
    };

  4. #4
    Sencha User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364

    Default

    ^^ Does that execute an XHR to send/commit data to the server?

  5. #5
    Sencha User VinylFox's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,501

    Default

    nope, just changes the cell style back to the one without the little red corner and updates the data store with the new value.

  6. #6

    Default Solved.

    Thanks VinylFox .. It works perfectly fine.

    Thanks once again,
    Srinvias.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •