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
105
UltraGrid don't show a subgrid (band 1)
posted

Hello.

My Databases' query is returning two selects.   Both resultas are the same dataset.

Obj.RetornarConsultasCustomizadasParaBrowsePorUsuario(this.RetornarCodigoUsuarioLogado(), ref DSPrincipal);

DTPrincipal = DSPrincipal.Tables[0];

DSPrincipal.Relations.Add(new DataRelation("FK_Consulta_Usuario",
DSPrincipal.Tables[0].Columns["ccu_consultacustomizada_IN"],
DSPrincipal.Tables[1].Columns["ccu_consultacustomizada_IN"]));

The relation is correct and any errors happens.

The grid's data source is DSPrincipal.

The Grid.DisplayLayout.Bands.Cout is 2!!!

But when the applicatino is running the sub grid don't show.

What can I do?

Parents
No Data
Reply Children
No Data