Is there a way to capture when the Header gets clicked? When the "Text Here" is clicked I would like to perform an action. I have suggested adding Editor Button in the ButtonsRight but they would rather have it in the list like shown below.
Ideally they would like it at the bottom of the list as shown in this control but I am not sure that is possible.
Any other suggestions welcome.
I'm a bit confused by this screen shot. As far as I know, UltraCombo doesn't have a header. So I'm not sure what that element in the screen show actually is. You must be doing something to create that header. Like maybe it's a Group header and all of the columns are in the group. Or maybe it's something else. If you wanted an "add new" button at the bottom, then I think the best way to do that would be to add an extra row into your data source and then use a CreationFilter to replace the display of the row with a button or something like that.
You are correct. I was adding a Header
Dim bmt As Bitmap = CType(SuGlobal.SystemSettings.SelectImage(SuGlobal.Images.AddNew), Bitmap) UltraCombo1.DisplayLayout.Bands(0).Header.Caption = "Text Here" UltraCombo1.DisplayLayout.Bands(0).Groups.Band.Header.Appearance.Image = bmt
I haven't been able to get a "mouse up" event to fire when I click on the header. I am assuming there isn't anything that will fire that, correct? If not, I plan on going down the road of adding an extra row to my data source. I haven't played around with the creation filter for that extra row yet, but thanks for that idea.
Thanks,
Laura