Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Setting the editor type properties from the data source field

    Hello,

    I'm using this data source

    Code:
    <DataSource ID="share.report.users.list"
                lookupStyle="new"
                serverType="generic"
                dropExtraFields="true">
    
        <fields>
    
            <field name="userName"
                   type="string"
                   canEdit="true"
                   editorType="comboBox"
                   optionDataSource="autocomplete.users.list"
                   addUnknownValues="false"/>
    
            <field name="permissionLevel"
                   type="enum"
                   canEdit="true"
                   editorType="PermissionLevelCanvasItem"/>
    
        </fields>
    
        <serverObject className="com.msp.eui.smartclient.datasource.dmihandler.impl.ShareReportDataSourceDMIHandler"/>
    
    </DataSource>
    and I want to set the optionDataSource of the combo box but I can't find where. Can you please show me? thank you

    #2
    Can you show me an example for a grid that uses combo box as an editor of one of the column with optionDataSource because all the example I see uses statis values map.

    Comment


      #3
      OK, I understand what is the problem, I need to load the optionDataSource with the data source of the grid, beforehand.

      Comment

      Working...
      X