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

Custom

Sharp UI controls and Syncfusion Grid control. We are working wtih Sharp UI controls and would like to implement them with Syncfusion Grid control; what are the steps that we need to take in order to accomplish this.

3 Replies

Administrator July 30, 2004 11:45 AM UTC

I am not sure what you mean by this. Do you have controls that you want to appear in grid cells? If so, depending upon your specific needs, you might be able to set style.Control for teh cell you want to hold one of your controls. Unless you only want to see the control in a single cell, it is likely you would have to derive a custom cell control. Right now you can look for the custom cells in our samples folder. Here is a list from our sample that has custom cells CellTypes\CalendarCells CellTypes\PictureBoxCells CellTypes\RadioButtonCells CellTypes\SliderCells CellTypes\XhtmlCells In Depth\CellButtons In Depth\DropDownFormAndUserControlSample In Depth\DropdownGrid In Depth\GridInCells In Depth\VirtTreeGrid You can also look in the grid''s user guide for information on deriving a cell control section. EssentialGrid--->EssentialGridOverview ---> Deriving a cell control.

EM Eddie Molieri July 30, 2004 06:11 PM UTC

I would like to know how to get rid of any borders that may be created when the control is drawn to the cell? Thanks. >Sharp UI controls and Syncfusion Grid control. We are working wtih Sharp UI controls and would like to implement them with Syncfusion Grid control; what are the steps that we need to take in order to accomplish this.

Administrator July 30, 2004 08:13 PM UTC

The default borders are drawn on the right and the bottom of each cell. To turn these off, you can set style.Borders.Right = new GridBorder(GridBorderStyle.None); style.Borders.Bottom = new GridBorder(GridBorderStyle.None); where style is the GridStyleInfo object for the cells you want to have no border. To do it on all cells, you can use grid.TableStyle for thestyle object in the code above.
Loader.
Live Chat Icon For mobile
Up arrow icon