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

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 10:49 AM

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.
Live Chat Icon For mobile
Up arrow icon