Results 1 to 3 of 3

Thread: Two depended combo in EditorGrid

  1. #1
    Sencha User
    Join Date
    Jul 2010
    Posts
    61

    Default Two depended combo in EditorGrid

    Hi,

    I have EditorGrid with two columns. Column A and Column B. Both are using Combo.

    my initial config for Column b's Combo is disabled. I only want to enabled Column B' combo base on Column A' select value.

    I added select change event of Column A and try to enabled Column B' combo. It is work but all the Column B's combo in all ROW are enabled. I only want to enabled current row.

    Please let me know which event I support to write. Thanks.

    Alex

  2. #2

    Default

    listen to 'beforeedit' of the editor grid and set the disabled state of the combo then according to the record.
    Wes

  3. #3
    Sencha User
    Join Date
    Jul 2010
    Posts
    61

    Default

    Thanks darthwes.

    I can managed to overcome this issue using isCellEditable: function(col, row) in ColumnModel.

    Thanks again.
    Alex

Similar Threads

  1. Autoexpand EditorGrid Combo
    By teqneers in forum Ext 3.x: Help & Discussion
    Replies: 6
    Last Post: 21 Jan 2010, 1:55 AM
  2. Editorgrid combo box
    By bhaskar1605 in forum Ext 2.x: Help & Discussion
    Replies: 6
    Last Post: 30 Dec 2008, 8:04 AM
  3. two depended comboboxes with local JsonStore
    By mdissel in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 26 Jul 2007, 6:41 AM
  4. Replies: 2
    Last Post: 21 Jun 2007, 11:33 PM

Posting Permissions

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