I have a grid with cells of CellType "Control" which contain a treeview. When I want to click on the treeview to expand or contract a node I must first click the cell in which it resides so it gets focus, then click the +/- sign to fire the click event for the treeview. How can I programmatically get focus to the cell and fire the treeview''s click event with a single mouseclick?
ADAdministrator Syncfusion Team August 30, 2004 03:34 PM
The grid does try to forward the click to the control in the cell. Here is a sample that puts a treeview in a cell in a GridDataBoundGrid that responds to the first click. It uses QueryCellInfo to manage this in the GridDataBoundGrid, but setting it in a GridControl also seems to respond to the first click. I am using 188.8.131.52. Are you doing something different?
JLJeff LancasterAugust 31, 2004 07:56 AM
You''re right Clay - that works fine. Turns out the problem was actually in the way I had my treeview set up. Thanks for your help.