Hi Telerik experts,
I have a hierarchy grid (inner grid as a nestedViewTemplate). i set pageSize=40.
Here is the problem:
1. When I expand the row to show the inner grid, there is a white space shown before the header. (see attached pic). The more rows I expand, the larger the white space is.
2. i tried to set useStaticHeader = true, i got the same problem except that the white space will be shown between the header and the first row.
It's really strange. i searched a lot, didn't find any solution. Would you please help me out?
Here is the code:
Best regards,
heng
I have a hierarchy grid (inner grid as a nestedViewTemplate). i set pageSize=40.
Here is the problem:
1. When I expand the row to show the inner grid, there is a white space shown before the header. (see attached pic). The more rows I expand, the larger the white space is.
2. i tried to set useStaticHeader = true, i got the same problem except that the white space will be shown between the header and the first row.
It's really strange. i searched a lot, didn't find any solution. Would you please help me out?
Here is the code:
<
form
id
=
"frmSearchResults"
runat
=
"server"
>
<
div
>
<
div
>
<
table
>
<!--some controls here -->
</
table
>
<
radspl:RadSplitter
ID
=
"spltSrchRes"
runat
=
"server"
Skin
=
"Outlook"
Width
=
"100%"
Visible
=
"true"
ResizeWithParentPane
=
"true"
ResizeWithBrowserWindow
=
"true"
ResizeMode
=
"EndPane"
Height
=
"650"
>
<
radspl:RadPane
ID
=
"pnRefSrch"
runat
=
"server"
Scrolling
=
"None"
CssClass
=
"rgDataDiv"
>
<
telerik:RadGrid
runAt
=
"server"
pageSize
=
40
>
<
ClientSettings
AllowAutoScrollOnDragDrop
=
"False"
>
<
Resizing
AllowColumnResize
=
"true"
ResizeGridOnColumnResize
=
"false"
ClipCellContentOnResize
=
"False"
>
</
Resizing
>
<
Scrolling
AllowScroll
=
"true"
UseStaticHeaders
=
"false"
FrozenColumnsCount
=
"1"
ScrollHeight
=
"640px"
/>
<
Selecting
AllowRowSelect
=
"True"
/>
<
ClientEvents
OnGridCreated
=
"GridCreated"
/>
</
ClientSettings
>
<
MasterTableView
Width
=
"99%"
DataKeyNames
=
"General ID"
ClientDataKeyNames
=
"General ID"
TableLayout
=
"Auto"
AllowFilteringByColumn
=
"true"
>
<
NestedViewSettings
>
<
ParentTableRelation
>
<
telerik:GridRelationFields
DetailKeyField
=
"GeneralID"
MasterKeyField
=
"GeneralID"
/>
</
ParentTableRelation
>
</
NestedViewSettings
>
<
NestedViewTemplate
>
<
telerik:RadGrid
HorizontalAlign
=
"center"
Width
=
"1000"
ID
=
"inner"
runat
=
"server"
>
<
MasterTableView
TableLayout
=
"auto"
AllowFilteringByColumn
=
"true"
>
</
MasterTableView
>
</
telerik:RadGrid
>
</
MasterTableView
>
</
telerik:RadGrid
>
</
radspl:RadPane
>
</
radspl:RadSplitter
>
Best regards,
heng