Hi,
I have a hierarchy XamWebGrid and I would like to know if it is possible to implement this feature on the child only. If not, then what is my alternative to achieve this? Thanks!
Off each ColumnLayout object is an AddNewRowSettings object with a property named AllowAddNewRow. You would need to set the AllowAddNewRow to .None for the parent column layout and .Top for the child column layout.
You could also set the Grid's AddNewRowSettings .AllowAddNewRow to .None and turn it on in the child columnLayout.
Thanks for your reply.
By implementing the AddNewRow feature, every row on grid has the triangular. Since I have a hierarchy XamWebGrid, it looks like every parent has a child where in fact some don't. Is there a way to hide the triangular for those parents that do not have children or what is my alternative? Again, thanks for your help!
Actually that is by design so that a parent row without children can have a child row added.
If the Child collection is null (and not an empty collection) I believe the expansion indicatore won't show, but otherwise it is by design.
I need to show the users which row actually has a child. Right now, all rows show the triangular next to it and it is misleading.
In what event do I need to listen if I want to know which parent row has a child? thanks
You could use the InitializeRow event.
-SteveZ