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
660
Hide/Disable the Columns(button) in the groub-by box in the top of the Ultrawingrid
posted

Hi All,

Im adding the group by columns in code using sortedcolumns.add method, i.e (user doesnt drag drop those columns), I just want to remove the programtically grouped by column from the group-by box. else is there any way to disbale the columns in the group-by box, so that user cant touch those columns which were grouped in program.

please provide me some work around.

with thanks & Regards

Amjath

Parents
No Data
Reply
  • 53790
    posted

    Hello Amjath,

    Maybe one possible solution could be if you are using GroupByBox.Hidden property. For example:

    ultraGrid1.DisplayLayout.Bands[0].SortedColumns.Add("Col 1", false, true);

    ultraGrid1.DisplayLayout.Bands[0].SortedColumns.Add("Col 2", false, true);

    ultraGrid1.DisplayLayout.GroupByBox.Hidden =true;

    Let me know if you have any questions.

Children