Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
UltraWebGrid 11.1 master-details grid
posted

Hi,

I have a C# .NET3.5 web app with UltraWebGrid 11.1 configured to bind to a datset data source.

Need to add hirarchial functionality to grid - currently it is not configured to use hirarchial display. The source dataset binded table does have several child relations.

How do I configure the grid to add child rows based on a specific given datarelation in the dataset source?

How do I configure the grid to work in a hirarchy, display a '+' sign for expanding rows, etc.

Pls note that there are additional data relations in the datasource, so configuration must include some kind of definition to use the requested data relation only.

Any online sample/documentation would be much appreciated.

For testing, I added this to InitializeRow(object sender, Infragistics.WebUI.UltraWebGrid.RowEventArgs e) event handler in page code behind, with no luck...

UltraGridRow row = new UltraGridRow();
row.Height = new System.Web.UI.WebControls.Unit(20);
row.Cells.Add(new UltraGridCell("<span>I am a child row</span>"));
e.Row.Rows.Add(row);
e.Row.Expand(true);

thanks

MK