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
560
Alejandro
posted

Environment of Visual basic net 2010

Ultragrideditor

With the following instruction: 

 Me. Ultragrid1. DisplayLayout. Bands (0) .Columns ("Name") .CharacterCasing = CharacterCasing. Upper

 I write the cells("name")  in capital letters.

 But what I need is to write in capital letters the cell: ColumnFilters

 

 Thank you

  • 469350
    Verified Answer
    Offline posted

    Hi,

    Try this:


            private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
            {
                UltraGridLayout layout = e.Layout;
                UltraGridBand band = layout.Bands[0];
                UltraGridOverride ov = layout.Override;

                ov.AllowRowFiltering = DefaultableBoolean.True;
                ov.FilterUIType = FilterUIType.FilterRow;
               
                band.Columns["String 1"].CharacterCasing = CharacterCasing.Upper;
                band.Columns["String 1"].FilterOperandStyle = FilterOperandStyle.UseColumnEditor;
            }