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

The cell with "Button" cell type is not full filled

Set a cell with "Button" cell type, I noticed that the button didn't full fill the cell, there is a little blank space between the button border and cell border, like setting the margin property. The blank space will disappear after the mouse hovering on the cell, see following screenshot, the first "Book Ticket" cell with "Button" cell type is full filled with button after mouse hovering on it.

 
                                                    Hover mouse on this cell

I uploaded the sample for you. Thanks!

Attachment: Basic_Cell_Type_961ad726.zip

3 Replies

KB Kanimozhi Bharathi Syncfusion Team July 14, 2016 05:51 PM UTC

Hi Nick Tang, 

Thank you for contacting Syncfusion Support. 

We were able to reproduce the issue and you can overcome this issue by creating CustomButtonCellRenderer class which is inherited from the GridCellButtonRenderer class and override the base class methods. Add this custom cell type for button cells. Please  find the sample link for your reference. 


Regards 
Kanimozhi B 



NT Nick Tang July 15, 2016 06:06 AM UTC

Thank you, it works well.


KB Kanimozhi Bharathi Syncfusion Team July 18, 2016 04:41 AM UTC

Hi Nick Tang, 
Thank you for your update. 
Regards 
Kanimozhi B 


Loader.
Up arrow icon