Completed
Last Updated: 03 Dec 2014 13:57 by ADMIN
ADMIN
Milena
Created on: 25 Sep 2013 07:14
Category: Grid
Type: Feature Request
1
FIX:RadGrid`s GroupHeader is not displaying correctly when some of the columns are hidden(Display="false").
You can use the following temporary workaround in order to avoid the problem:
1. Attach OnGridCreated event handler:
    ...
    <ClientSettings>
         <ClientEvents OnGridCreated="onGridCreated" />
    </ClientSettings>
    ...

2. In the event handler configure the group header according to the number of visible columns in the grid:
          function onGridCreated(sender, args) {
              if ($telerik.isIE7) {
                  var visibleCount = sender.get_masterTableView()._getVisibleColumnsCount();
                  $telerik.$(".rgGroupHeader .rgGroupCol + td", sender.get_element()).attr("colspan", visibleCount);
              }
          }
0 comments