3 Answers, 1 is accepted
0
Hello Armen,
Thank you for writing.
You can do that by using the ViewCellFormatting event of RadGridView. Attached you can find a sample application demonstrating how to achieve the desired behavior.
More information regarding this event can be found here:http://www.telerik.com/help/winforms/gridview-cells-formatting-cells.html.
I hope that you find this information useful.
All the best,
Stefan
the Telerik team
Thank you for writing.
You can do that by using the ViewCellFormatting event of RadGridView. Attached you can find a sample application demonstrating how to achieve the desired behavior.
More information regarding this event can be found here:http://www.telerik.com/help/winforms/gridview-cells-formatting-cells.html.
I hope that you find this information useful.
All the best,
Stefan
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
0
r
Top achievements
Rank 1
answered on 09 Apr 2013, 08:49 AM
Hi ,
How to change size of filter icon if filtering row is not shown.
Me.GridView.MasterTemplate.ShowFilteringRow = False
Kindly help
How to change size of filter icon if filtering row is not shown.
Me.GridView.MasterTemplate.ShowFilteringRow = False
Kindly help
0
Hi,
Thank you for writing.
I assume that you are asking about the filter button located in the grid's header cells, since the one located in the filtering cell will not be visible when you hide the row. To increase the size of the button image, just set an image with the desired size in the ViewCellFormatting event:
I hope this helps.
Kind regards,
Stefan
the Telerik team
Thank you for writing.
I assume that you are asking about the filter button located in the grid's header cells, since the one located in the filtering cell will not be visible when you hide the row. To increase the size of the button image, just set an image with the desired size in the ViewCellFormatting event:
void
radGridView1_ViewCellFormatting(
object
sender, Telerik.WinControls.UI.CellFormattingEventArgs e)
{
GridHeaderCellElement headerCell = e.CellElement
as
GridHeaderCellElement;
if
(headerCell !=
null
)
{
headerCell.FilterButton.Image = Image.FromFile(@
"C:\Documents\32x32\New.png"
);
}
}
I hope this helps.
Kind regards,
Stefan
the Telerik team
WinForms Q1 2013 boasts PivotGrid, PDF Viewer, Chart enhancements and more.
Check out all of the latest highlights.