Hello,
I updated my application yesterday with the Q2 SP1 release, and I've tried using the custom filter descritpion when you apply a specific format string to the column.
In my case, I have a column date which I only wanted to display the month.
So I've customed my column like this :
<grid:GridViewDataColumn DataFormatString="{}{0:MMMM}"
DataMemberPath="dt_ecriture"
HeaderText="Mois"
TextAlignment="Center"
Width="Auto" />
And it works great.
Then, I read that the new release would automatically custom the filter on the column header to the format string applied on the column.
So I checked, but if it indeed takes the new format string, it display in the filter several times the same item, kind of like if I was missing a DISTINCT clause in a SQL statement.
So for instance, if I have two dates in January, the custom filter will give me two January in the list.
And If i want to display only the january records, I have to check all january checkbox in the list.
You can see an example in this screenshot :
http://img8.imageshack.us/img8/3638/bugtelerikmoisendoubles.jpg
Regards
Ludovic
I updated my application yesterday with the Q2 SP1 release, and I've tried using the custom filter descritpion when you apply a specific format string to the column.
In my case, I have a column date which I only wanted to display the month.
So I've customed my column like this :
<grid:GridViewDataColumn DataFormatString="{}{0:MMMM}"
DataMemberPath="dt_ecriture"
HeaderText="Mois"
TextAlignment="Center"
Width="Auto" />
And it works great.
Then, I read that the new release would automatically custom the filter on the column header to the format string applied on the column.
So I checked, but if it indeed takes the new format string, it display in the filter several times the same item, kind of like if I was missing a DISTINCT clause in a SQL statement.
So for instance, if I have two dates in January, the custom filter will give me two January in the list.
And If i want to display only the january records, I have to check all january checkbox in the list.
You can see an example in this screenshot :
http://img8.imageshack.us/img8/3638/bugtelerikmoisendoubles.jpg
Regards
Ludovic