Announcement

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

    SelectItem picklist renders with empty area at bottom

    Hi,

    Version : Smartclient-v9 pro.
    Browser : Chrome Version 31.0.1650.63 m & IE11 Version :11.0.9600.16518

    Issue : When property allowEmptyValue set true and sortField set with different field which is not available in pickListFields but on optionDataSource.
    issue on only first click which renders empty area.

    Please find the snap.

    Code:
    getPeriodLevelPickerFieldDefinition : function(properties)
    	{
    		var baseProperties =
    		{
    			name : 'level',
    			hint : MeiStrings.get('period.hint.periodLevel'),
    			width : 150,
    			defaultToFirstOption : true,
    			optionDataSource : 'dsPeriodLevel',
    			editorType : 'SelectItem',
    			displayField : 'name',
    			sortDirection : 'ascending',
    			valueField : 'primaryKey',
    			addUnknownValues : false,
    			validateOnExit : false,
    			allowEmptyValue : true,
     			sortField : 'presentationOrder',
    			pickListFields : [{ name : 'name', width : '100%' }],
    			criteriaProperties : null,
    			config : null
    		};
    
    		var fld = isc.addProperties(baseProperties, properties);
    		return fld;
    	}

    Thanks,
    Anand L
    Attached Files
    Last edited by anand.l; 17 Feb 2014, 05:39.

    #2
    Another post created

    Please refer to the post
    http://forums.smartclient.com/showthread.php?p=116443#post116443

    for further details

    Comment

    Working...
    X