Hi I am Marko,
What I want to do is to fill xamGrid with email titles and then to have an option to expand each row so that I can see email body (text that is) . And that text can be very big or very small and there fore height of the expanded row can vary (be very high or very low). I saw on this site that xamGrid has an option to make rows expandable. How do I achieve all this? Because when I load email text in the grid the row height is always the same and its the height that I specified in properties of the grid for example 23px. This way I can not see hole of the text - I can see only part of the email text - part that fits into that columns width. I want to see hole of the text no matter how big it is (multiple rows text and not in one line). When I set column width to "Auto" width of the column goes wide as far as header text of that column -and this is behavior that i wand but also I want the height of the row to grow according to the size of the email body text. I don't now how to do this.
Please help.
Best regards,
Marko.
Hello,
I have been looking into your answer the template contains a TextBox control that has its Text property bound and that is how the data is being loaded inside the template. In case you want to put some multiple textboxes, you can place them in the different grid rows. In order to illustrate this behavior I have created a sample project.
Please let me know if you have future concerns regarding the discussed matter.
Sincerely,
Ekaterina
Developer Support Engineer
Infragistics, Inc.
www.infragistics.com/support
Hi,
Thanks for your answers
I have gone trough your links and I really do need further assistance. I need a solution with expandable rows and I really do like this "TemplateColumnLayout" solution. From this link () it looks like rows ARE expandable, can you confirm this Konstantin?
BUT on this link I can't see how do one loads data into the template? I can't see CS code nor hole XAML page nor SQL query that gets data from DB. If you would be kind enough to make and post me some small sample project Konstantin I would be very grateful.
My scenario is: I load grid with email titles (subjects) RowHeight 15px and when I double click some row it expands and shows template (email body text in it) which CAN vary in height depending on the amount of the text in it (100px ÷ 300px). And then if I want to I can collapse that row again. Further on I need that template to display some kind of conversation like:
me: bla bla bla
you: blah blah blah
me: aj aj aj
you: my my my
.. so template it self should have rows which are colored differently ("me" background color yellow, "you" background color blue or whatever..). Is this doable with "TemplateColumnLayout" and how? From that link I can't see much.
Thanks again, best regards
Hello torbaman ,
I am just checking if you still need further assistance after the above solution has being provided for you.
Hi Marko,
sorry for the late response.
the sample you've found demonstrate the use of ColumnLayout Column - it is useful when you need to display a sub grid of a certain row - for more details check out this help page.
However I don't think this is the what you are looking for. You most likely need to use TemplateColumnLayout instead. I suppose you'll find all answers how to use it in the linked help page.
I'll be glad to help you if you need any further assistance.
Regards,
Anybody ?? Please help.
I saw example here http://samples.infragistics.com/sllob/RunSamples.aspx?cn=grid#/grid/handling-hierarchical-data-sets but from sample code on this page I couldn't figure it out how do I load Data into these subrows/subgrids (<ig:ColumnLayout)