﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - Child tables with different columns</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Child-tables-with-different-columns/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Child tables with different columns</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Child-tables-with-different-columns/</link><pubDate>Wed, 16 Mar 2011 03:25:28 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Glad to hear the good news.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Should you need further assistance or run into any technical problems regarding our controls, feel free to post it into our forum. We would be happy to assist you again.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Child tables with different columns</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Child-tables-with-different-columns/</link><pubDate>Tue, 15 Mar 2011 05:43:53 GMT</pubDate><dc:creator>RobertPehrson</dc:creator><description>&lt;p&gt;Thanks, Yudi, I see it now - the ChildTables property of the root table is a &lt;span style="font-family: consolas; color: #2b91af; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #2b91af; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #2b91af; font-size: 13px"&gt;WebGridTableCollection&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; that can contain more than one child table.  The children of each parent row can then be from any of these child tables (and you can even take a row's children from multiple tables!)  I've adapted the tutorial to show this and it's looking good. &lt;/p&gt;</description></item><item><title>Child tables with different columns</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Child-tables-with-different-columns/</link><pubDate>Tue, 15 Mar 2011 00:27:42 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;In the bound mode of hierarchical WebGrid, the parent table and the child table need to have a data relation. Suppose there are two tables, Products and Categories. Products and Categories are related where a Category item may has many Product items. This relation indicated by the existence of [CategoryID] column inside Products table.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;When Products table and Categories table are bind to hierarchical WebGrid. The Categories will be the parent table and the Products will be the child table.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Unlike the bound one, the Hierarchical_Unbound_Programmatic tutorial file shows that WebGrid supports pure unbound mode through server-side object model. In the tutorial, the main Grid object; the RootTable and its columns; and the ChildTable are programmatically created in code behind. The root rows and the child rows are added to the Grid programmatically as well.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Note that when the grid is operating in unbound mode, all data-bound operations – such as sorting, grouping, etc – should not be enabled.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Please let us know your response&lt;/span&gt;</description></item><item><title>Child tables with different columns</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Child-tables-with-different-columns/</link><pubDate>Mon, 14 Mar 2011 11:49:37 GMT</pubDate><dc:creator>RobertPehrson</dc:creator><description>&lt;p&gt;It seems that in the WebGrid all child tables have to have the same columns.  I can't see how to implement child tables where the child table for each row in the root table has it's own set of columns.  Maybe it's not possible - for example the &lt;span style="font-family: consolas; color: #2b91af; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #2b91af; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #2b91af; font-size: 13px"&gt;Hierarchical_Unbound_Programmatic &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;example shows data being loaded dynamically into child tables, but the schema of the child table is fixed.  &lt;/p&gt;
&lt;p&gt;There may be another solution, since the child tables do all have the same rows - they are "inverted" from the database structure, the rows becoming columns and the columns becoming rows.  However, as far as I can tell WebGrid does not do inversion either.&lt;/p&gt;
&lt;p&gt;Any ideas, anyone?&lt;/p&gt;</description></item></channel></rss>