Hi,
I want to remove the little pen and "..." image on the RowSelector when the row is editing... Is there a property that I can set which allow me to remove (not display) it? Thanks.
kai
You can turn off the row selectors entirely by using the RowSelectors property.
There's no property to just turn off the images, though. You could do it with a DrawFilter. I think there might even be a KB article on this.
Mike,
Can you point to the related KB. (To remove pen indicator using draw filter).
Thanks,
Neelima.
Hi Neelima,
Do you really want to just hide the icon? Or do you actually want to commit or cancel the changes in the row?
Here's the KB article: HOWTO:Remove the pencil image that appears after editing a cell
But you might want to look into the UpdateData or CancelUpdate methods, instead.
Yeah, I want to hide the icon. I don't want to cancel the changes.
-Neelima.
You might want to consider simply hiding the RowSelectors (using the RowSelectors property), then.
Or, if you want to hide ALL of the icons, and not just the pencil, you could use the RowSelectorAppearance.ImageAlpha and set it to Transparent.
Hiding row selectors wouldn't work for me...as I am using the grid column chooser in the row selector header.
Hiding all icons, would not work either as...this apporach would hide the arrow icon too...
I tried using the draw filter (as shown in KB) ...even that doesn't seem to work...Am I missing anything?
Let me know.
this should work...
' Disabling the Pen Image for editingMe.UltraGrid1.DisplayLayout.Override.RowSelectorAppearance.ImageAlpha = Infragistics.Win.Alpha.Transparent