public virtual IGridRowBuilder CreateHeaderBuilder(GridRenderingData renderingData)
        {
            var builder = new GridRowBuilder(renderingData.Columns.Select(cellBuilderFactory.CreateHeaderCellBuilder));

            var item = new GridItem
            {
                GroupLevel = renderingData.GroupMembers.Count(),
                Type       = GridItemType.HeaderRow
            };

            return(decoratorProvider.ApplyDecorators(builder, item, renderingData.HasDetailView));
        }
        public virtual IGridRowBuilder CreateHeaderBuilder(GridRenderingData renderingData)
        {
            var builder = new GridRowBuilder(renderingData.Columns.Select(cellBuilderFactory.CreateHeaderCellBuilder));

            var item = new GridItem
            {
                GroupLevel = renderingData.GroupMembers.Count(),
                Type = GridItemType.HeaderRow
            };

            return decoratorProvider.ApplyDecorators(builder, item, renderingData.HasDetailView);
        }