Two buttons in a Cell of a GridGroupingControl

Hi. I''m trying to create a new cellmodel to have two buttons in a cell. So, i create two GridCellButton and i add them with "addButton". But i would like to center the two buttons in my cell. I tried to override the onlayout method but i don''t have an access to the cellbounds. If i ovveride the Draw method, i can''t access to the buttons bounds. Thank you.

1 Reply

AD Administrator Syncfusion Team April 4, 2005 03:49 PM UTC

I think the renderer.OnLayout is where you need to set the proper button bounds. Here is a little sample that puts 2 elipsis buttons in the middle of a cell using that override. http://www.syncfusion.com/Support/user/uploads/two_buttons_35ca22be.zip

Loader.
Up arrow icon