I'm using this below code, how can I disable user clicking on Group Header Caption. I want disable click functionality on Group Header Caption.
Dim group1 As UltraGridGroup = e.Layout.Bands(0).Groups.Add("group1") group1.Header.Caption = "Header 1" group1.Header.Appearance.TextHAlign = HAlign.Center
Thanks Mike for your response.
Yes that's correct I don't want to allow clicking on group header.
Regards,
Vijay
Hi Vijay,
When you say "disable click functionality on Group Header Caption", I assume you mean you don't want clicking on the group header to select the columns in that group. Is that correct?
There's no way to disable just that functionality, but you could change the HeaderClickAction and / or SelectTypeCol properties to control what happens when the header is clicked. This will also affect what happens when the column headers are clicked, though. So what you do here depends a lot on what you want to happen when the user clicks a column header. Do you want the user to be able to select a column? Do they need to select more than one column? Do you want clicking the column header to sort the data, instead?