Results 1 to 3 of 3

Thread: Combobox linked to a grid store

  1. #1
    Sencha Premium Member kimosabi's Avatar
    Join Date
    Jan 2008
    Location
    Perth, Western Australia
    Posts
    54

    Default Combobox linked to a grid store

    I've got a form that contains a grid and I would like to bind a combobox in the same form to that grids store so that as a user adds rows to the grid, the user can select an option in the combobox that correlates to a record in the grid store.

    Is this best done by directly linking the combobox's store to the grid store? Or is there a better way?

    Regards,
    Kim

  2. #2
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246

    Default

    You can use the same store for both the grid and the combobox as long as you are using triggerAction:'all' in the combobox config (otherwise the combobox is going to filter the store).

  3. #3
    Sencha Premium Member kimosabi's Avatar
    Join Date
    Jan 2008
    Location
    Perth, Western Australia
    Posts
    54

    Default

    Thanks Condor ... worked a treat

Posting Permissions

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