Hi,
We implemented our own merging capabilities and we have one issue with cells set as checkbox or button: when the cell is being suppressed, we still see the checkbox or button. How can I prevent them from being shown?
Thanks.
AnnieP.S. We are using NetAdvantage 2009 vol.1.
Hi Annie,
It's hard to answer your question since you didn't provide any details about how you are accomplishing the merging. I assuming you are using a CreationFilter, so the thing to do would be to remove the UIElement for the cells you don't need.
Hi Mike,
We created a custom DrawFilter for the grid. This filter handles the painting of the cell border. If the cell is "merged", we set the border color to be the same as the background color.
For the text of the cell, we play with the 'Foreground.Alpha" of the cell appearance. This is something we want to review as it seems very costly on our grids with lot of rows.
I tried working with a CreationFilter as you suggested but I was not able to make it work fine. When I double-click in a cell to change its value, I could not see the checkbox. I am guessing it is because the UIElement was removed...I will continue to investigate (this is an area I am not familiar with; someone else wrote our merge functionality and the person is not longer working for us!).
If you have anything else to suggest, let me know.
Your help is appreciated.Annie