1. #1
    Ext User mahendra_gayatri's Avatar
    Join Date
    Jul 2008
    Location
    India
    Posts
    58
    Vote Rating
    0
    mahendra_gayatri is on a distinguished road

      0  

    Question Editable grid dynamic editor update

    Editable grid dynamic editor update


    Hi,

    I am trying to add an editor to a cell, depending on the combo value selected in another cell.

    consider there are 2 columns of Editor Grid, with one column a combo editor applied. If I select index 1, the column 2 adds a date editor, else a string editor.

    Basically I am building a Query Builder, so
    <column name> | <operator> | <value> | <AND/ OR>


    Thanks in advance!

  2. #2
    Sencha User
    Join Date
    Dec 2008
    Posts
    73
    Vote Rating
    0
    cdeguzman is on a distinguished road

      0  

    Default


    Hello,

    You can create a custom columnmodel and assign it to your editorgridpanel. Then override the getCellEditor method to suit your needs.

  3. #3
    Ext User mahendra_gayatri's Avatar
    Join Date
    Jul 2008
    Location
    India
    Posts
    58
    Vote Rating
    0
    mahendra_gayatri is on a distinguished road

      0  

    Default


    Quote Originally Posted by cdeguzman View Post
    Hello,

    You can create a custom columnmodel and assign it to your editorgridpanel. Then override the getCellEditor method to suit your needs.
    I need to add the editor at run time, as the user selects the combo option of column 1.

    By overriding the getCellEditor, we can only assign editors at the start and not runtime.

  4. #4
    Ext User mahendra_gayatri's Avatar
    Join Date
    Jul 2008
    Location
    India
    Posts
    58
    Vote Rating
    0
    mahendra_gayatri is on a distinguished road

      0  

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar