Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
120
Populating UltraComboEditor with 3 Columns
posted

Hi,

I am new to UltraComboEditor and i would wish to populate the combo with three columns only, where in the _objLedger contain total 15 columns.

Code ----------------------------------------------------------

List _objLedger = new List();
_objLedger = _objClsLedger.GetLedgerListDT(Utility.glbClientID, _intCCode, _strFinYear, _strFields, 26);

cboLedger.DataSource = _objLedger;

cboLedger.DisplayMember = "ADispName";
cboLedger.ValueMember = "ACode";
cboLedger.DataBind();

End Code -----------------------------------------------------------

Looking forward for your reply

Parents
  • 53790
    Verified Answer
    posted

    Hi,

    The easiest way to solve this task, could be if you are using UltraCombo control instead of UltraComboEditor control. After that you could hide desired columns. For example:

    ultraCombo1.DisplayLayout.Bands[0].Columns[2].Hidden =true;

     

    Let me know if you have any questions

Reply Children