Hi
I have question with hierarchical grid.
In hierarchical grid we are using the + / - for expand and collapse the grid.
I want to place a next to minus (-) sign image (Like folder open image) when that grid expanding mode.
and change the (next to + plus sign) image (Like folder close image) automatically when that grid collapsing.
you help is highly appreciated. thanks.
by
ramesh
i would also like to replace the expander image with my own image. The child records in this case ar individual people scheduled on a task and I want to replace + and - with a "people" icon. I do not have a solution but maybe if another person asks we will get a response.
Hello,
Responce, true.
To achieve this you have to create a style for the RecordSelector. You can see the base/default style in the DefaultStyles directory installed together with out products in the Infragistics folder. You have to retemplate the record selector to change + and - signs.
Hope this helps.
Alex.
Thank Alex. It is working Except collapse scenario.
When expanding the image changed.
When collapsed the image not changed the old image still appear. (Suppose i collapse the top node and expand again,
It will display the correct image) .
Well, that is interesting. It works with me fine ( the image changes from "B" letter to "A" letter and then back to "B" when collapsed). It just has one second animation time (I think). If you want I can attach my project.
Here is my project.
Hi Alex,
Is there any way which always keeps the expander as expanded by default.
Yes, the best way to do this is in the InitializeRecord event set
e.Record.IsExpanded = true;
Hi,