We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Grid List Control

I have a unbound grid cell that is of type gridlistcontrol. I''m binding an arraylist to the gridlistcontrol. I would like to format the gridlistcontrol cells (font, color,etc.) how can i do this?

1 Reply

JE Jan Eugenides May 13, 2005 11:20 PM UTC

You can add a handler like so: Dim cc As GridCurrentCell = grid.CurrentCell Dim cr As GridDropDownGridListControlCellRenderer = cc.Renderer Dim glc As GridListControl AddHandler cr.ListControlPart.Grid.QueryCellFormattedText, AddressOf QueryCellFormattedText then do the usual formatting calls inside your QueryCellFormattedText handler.

Live Chat Icon For mobile
Up arrow icon