Hello,
I want to define a custom template column (field) for a record (row) of data. This field should show below the record when a user clicks on the row. I see that the XamGrid does exactly what I want in the XamFeatureBrowser under XamGrid->Display->Template Column Layout). But I may want some features of the XamDataGrid later. How can I go about doing this in the XamDataGrid?
Thanks,
-Jeff
Hello David,
Thank you for posting to our community!
I have updated the support ticket regarding this issue. We could continue our discussion regarding the visibility of the expansion indicator while template is used there.
Hi Stefan,
I know this post is very old, but I am trying to do something similar.
Have a look at the attached file, which shows the TemplateColumnLayout in xamGrid. This layout is very good, because I have a case where I have one master record which could have many different child record types, and this is a neat way to display it.
I am getting the results of a database query that the user specifies, and it is returned as an XML document. This means that the structure can be hierarchical, and it may be "ragged" meaning that some rows may have child records and some may not. Child records may also contain any number of nested child records.
I have attempted to solve this problem with xamGrid, but the issue is that using the TemplateColumnLayout the "master rows" always show an arrow on the side of the row whether there are children or not. If the user "drills into" a row that does not have child data it shows an empty child row/template.
I have opened an Infragistics Support Case# CAS-113364-S7G5F4 but the reply is that there is no work around for xamGrid and this would need to be part of a future enhancement.
I am wondering whether my problem can be solved with your xamDataGrid example?
Hello Jeff,
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
Thank you for your post. I have been looking into it and I suggest you see this forum thread:
http://blogs.infragistics.com/forums/p/43348/238054.aspx
where there is a sample with the functionality you want. Please let me know if this helps you or you need further assistance.
Looking forward for your reply.