Hi
I have UltraDropDown control set to one of the Grid Cell. i am assigning DataTable as DataSource to the DropDown, which have 4 columns.
I have to show only one when user selects...But the issue is it is showing all columns available at DataTable
I am using this code to set
cmbControl.DisplayMember = tableData.Columns[0].ColumnName; cmbControl.ValueMember = tableData.Columns[0].ColumnName;
What could be the issue?
Hi,
What you should do is handle the InitializeLayout event of the UltraDropDown control. You can hide any columns you don't want the use to see using the Hidden property on the column:
e.Layout.Bands[0].Columns["Key of the column I want to hide"].Hidden = true;