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
85
Child Band Sorting on Server side
posted

I am using Infragistics Version 10.3 ,I am binding WebHierarchicalDatagrid using datatable On server side .EnableDataViewState="true" for WebHierarchicalDatagrid ,Structure is parent/child

protected void Page_Load(object sender, EventArgs e)
    {if(!page.ispostback) BindGrid();}

void BindGrid(){

  WebHierarchicalDataSource1.DataViews[0].DataSource = dtList;
                WebHierarchicalDataSource1.DataViews[1].DataSource = ds.Tables[1];

                WebHierarchicalDataGrid.GridView.ClearDataSource();
                WebHierarchicalDataGrid.DataSource = WebHierarchicalDataSource1;
                WebHierarchicalDataGrid.DataBind();
                WebHierarchicalDataGrid.GridView.RequestFullAsyncRender();

}

 I want to apply sorting on Child band ,How can I apply it?

Eagerly waiting for reply.

Thanks,