Hierarchy Problems and Server bind

2 posts, 0 answers
  1. Andy Macourek
    Andy  Macourek avatar
    30 posts
    Member since:
    Mar 2010

    Posted 08 May 2014 Link to this post

    I am trying to use hierarchy with the data that is in the model.  However, when the grid loads, the first column is not the expand/collapse, it is the first data bound column and all other columns are shifted left.  If I exclude the client template, it works fine, but as soon as I add the template call, it breaks.
                   .Columns(columns =>
                       columns.Bound(e => e.SHDEntryId);
                       columns.Bound(e => e.AffectedWorkload);
                       columns.Bound(e => e.Severity);
                       columns.Bound(e => e.Status);
                       columns.Bound(e => e.AffectedDataCenters);
                       columns.Bound(e => e.StartTime);
                       columns.Bound(e => e.LastUpdatedTime);
  2. Nikolay Rusev
    Nikolay Rusev avatar
    2287 posts

    Posted 09 May 2014 Link to this post

    Hello Andy,

    It seems that you are using Server Binding for the Grid. In this case ClientDetailTemplateId is not applicable. The following article explains how to implement hierarchy with server bound grid: Server Detail Template.

    Nikolay Rusev

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top