[CLOSED] MultiSelect as column editor

  1. #1

    [CLOSED] MultiSelect as column editor

    Hi,

    Is it possible to use MultiSelect as a column editor? Obiously the code below shows the editor correctly, but how can I apply the selection to the data row? I would like to assign to the row's column the concatenated (comma separated) values of selected items. I probably need some button added to the bottom bar, but what the command should be?

    
    
    
    <ext:Column ColumnID="Match" DataIndex="Match" Header="Match" Sortable="true">
    
    
    <Editor>
    
    
    <ext:MultiSelect runat="server">
    
    
    <Items>
    
    
    <ext:ListItem Text="it1" Value="1" />
    
    
    <ext:ListItem Text="it2" Value="2" />
    
    
    <ext:ListItem Text="it3" Value="3" />
    
    
    <ext:ListItem Text="it4" Value="4" />
    
    
    <ext:ListItem Text="it5" Value="5" />
    
    
    </Items> 
    
    
    </ext:MultiSelect>
    
    
    </Editor>
    
    
    </ext:Column>
    Regards,
    Tadeusz
  2. #2

    RE: [CLOSED] MultiSelect as column editor

    Hi Tadeusz,

    The MultiSelect control is never tested as GridEditor. I made some tests and MultiSelect as editor is not so good. First problem is that the MultiSelect is not automatically resize to the cell width. Second, the top/bottom bars are not rendered when multiselect in grid. Third, when you try to scroll values in multiselect it disappears (of course you can set height to remove scrollbars)

    But you can confirm selection by presing Enter key or click outside multiselect.

    So, MultiSelect is not good as editor. I think in 0.8 release we can include Combo with multi-select ability. I think it will be better solution for grid.


  3. #3

    RE: [CLOSED] MultiSelect as column editor

    Hi Vladimir,

    I understand, thank you for your answer.

    Regards,
    Tadeusz

Similar Threads

  1. Problem with column editor
    By wszbdyyy in forum 2.x Help
    Replies: 1
    Last Post: Aug 14, 2012, 10:52 AM
  2. Replies: 4
    Last Post: May 09, 2012, 9:24 PM
  3. [CLOSED] How to Get Values From Column Editor in GridPanel?
    By tlfdesarrollo in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 03, 2012, 9:54 PM
  4. [CLOSED] Dynamic Editor in a Column
    By speedstepmem4 in forum 1.x Legacy Premium Help
    Replies: 9
    Last Post: Jan 18, 2012, 6:01 PM
  5. [CLOSED] Grid Column Editor
    By Vasudhaika in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: May 23, 2011, 11:43 AM

Posting Permissions