6 Answers, 1 is accepted
0
Shinu
Top achievements
Rank 2
answered on 09 Sep 2010, 05:19 AM
Hello,
GridTableViw has the Caption property that represents the text to render in an HTML caption element in a GridTableView control.
aspx:
<MasterTableView Caption="heading" CommandItemDisplay="Top"
-Shinu.
GridTableViw has the Caption property that represents the text to render in an HTML caption element in a GridTableView control.
aspx:
<MasterTableView Caption="heading" CommandItemDisplay="Top"
-Shinu.
0
Shafees
Top achievements
Rank 2
answered on 09 Nov 2010, 02:23 PM
Is i can add style to this caption? is grid skin style can added to it (some thing like change font color back color etc...)
0
Hi Shafees,
You can add a span to the Caption property and set it inline styles:
Caption="<span style='color:yellow'>heading</span>"
Best wishes,
Iana
the Telerik team
You can add a span to the Caption property and set it inline styles:
Caption="<span style='color:yellow'>heading</span>"
Best wishes,
Iana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Shafees
Top achievements
Rank 2
answered on 09 Nov 2010, 03:24 PM
I tried that a its working. But width: 100% is not working.
0
Hello Shafees,
To which element are you setting this width?
All the best,
Iana
the Telerik team
To which element are you setting this width?
All the best,
Iana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Shafees
Top achievements
Rank 2
answered on 10 Nov 2010, 06:04 AM
I have some mistakes........ The abow method working fine.
Thank You.
------------------------------------------------------------------------------------------------------------------------
Thank You.
------------------------------------------------------------------------------------------------------------------------
............. OnItemDataBound="radGridCostCode_ItemDataBound">
<
MasterTableView
Caption="<div
style
=
'width: 100%; background-color: Black;'
><
font
style
=
'color: White'
>Cost Code</
font
></
font
></
div
>">
<
Columns
>
<telerik:Grid