One click button in datagrid control

We have a GridDataControl with a column containing a button. We are trying to get the button to respond with the first click, but it seems the first click is needed to select the cell, then the 2nd click will fore a button click, regardless of the ActivateCurrentCellBehavior setting. This is the xaml for the column:




1 Reply

RA Rajasekar Syncfusion Team January 6, 2012 01:19 PM UTC

Hi Darryl,

Thanks for your patience, At present we don’t have support for in- built cell type for ‘Button’ in our Silverlight Grid. However, In order to achieve your requirement we have prepared the custom cell renderer for Button CellType. By using this, you can invoke the button click method in the first click itself.

Please find the custom cell renderer and sample in the below location,

Sample with custom cell renderer class:

http://www.syncfusion.com/downloads/Support/DirectTrac/86006/ButtonCellType-377079508.zip

Please let us know if you have any queries.

Thanks,
Rajasekar



Loader.
Up arrow icon