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

Cell Renderers vs. Cell Editors

In java,there is a distinction between a cell rendered and a cell editor. The cell renderer shows the current value of a cell, while the cell editor is shown only when the cell has focus. Is there any way to mimic this behavior with the gridControl ? For example, I would like to see a NumericUpDown control only when I have clicked on the cell to activate editing.

2 Replies

AD Administrator Syncfusion Team October 22, 2002 11:24 AM

If it is buttons you want to hide, there is a property setting, GridControl.ShowButtons, that you can use to hide the buttons. In the current 1.1.0.0 release, you can make the buttons stay hidden until the cell becomes the currentcell using the setting below. In the next release, there are additional properties that allow you to keep the buttons hidden until the cell actually starts editing.
gridControl1.TableStyle.ShowButtons = GridShowButtons.ShowCurrentCell;


RB robert bergelson October 22, 2002 12:20 PM

Clay, Thanks for the help. This worked great !!! Bob

Loader.
Live Chat Icon For mobile
Up arrow icon