[Solved] How can I custom the placeholder (DateInput) "GridColumn FilterMenuType="@FilterMenuType.Menu""

1 Answer 176 Views
ComboBox DatePicker Filter Grid Menu TextBox
Jurgen
Top achievements
Rank 1
Jurgen asked on 09 Jul 2024, 10:39 PM

Hi everyone!

I hace this Rowfilter



This is the Telerik Code 

 <GridColumn FilterMenuType="@FilterMenuType.Menu" Field="@nameof(HechoDirectoClienteViewModel.FechaVencimiento)" Title="Fecha vencimiento" TextAlign="ColumnTextAlign.Right" Resizable="true" Sortable="true" Width="170px" HeaderClass="center-wrap">
     <Template>
         @((context as HechoDirectoClienteViewModel)?.FechaVencimiento?.ToString("dd/MM/yyyy"))
     </Template>
 </GridColumn>
It is possible changue the DateFormat "y/M/yyyy" to this "dd/MM/yyyy?

1 Answer, 1 is accepted

Sort by
0
Tsvetomir
Telerik team
answered on 12 Jul 2024, 07:05 AM

Hello Jurgen,

Thank you for the clear explanation of the result you want to achieve.

Indeed, it is possible to customize the date format in the filter menu. To achieve that, use the FilterEditorFormat parameter and set it to the desired format. To see the approach first-hand, refer to Customize The Filter Editors section in our documentation.

Regards,
Tsvetomir
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources!
Tags
ComboBox DatePicker Filter Grid Menu TextBox
Asked by
Jurgen
Top achievements
Rank 1
Answers by
Tsvetomir
Telerik team
Share this question
or