C
C#11mo ago
Reed

❔ Reordering of columns: (DevExpress/XAML)

How should I go about switching the order of these columns? I tried the following but did not work: 1. Switch code order 2. Swapped the visibleIndex 3. 1+2 combined 4. Changed the visibleIndex in the XAML and the properties tab
<dxg:GridColumn VisibleIndex="3" x:Name="fftdtfr" Header="{Resx fftdtfr}" FieldName="fftdtfr" utils:AbsoluteVisibleColumn.IsEnable="False" Width="120" Visible="{Binding Visibility.fftdtfr, Mode=TwoWay}" AllowEditing="{Binding Accessibility.fftdtfr, Converter={converters:BoolToBooleanDefaultConverter}, Mode=OneWay}" IsEnabled="{Binding Accessibility.fftdtfr, Converter={converters:BoolToBooleanDefaultConverter}, Mode=OneWay}" FilterPopupMode="Date">
<dxg:GridColumn.EditSettings>
<dxe:DateEditSettings Mask="dd/MM/yyyy HH:mm" MaskType="DateTimeAdvancingCaret" MaskUseAsDisplayFormat="True" />
</dxg:GridColumn.EditSettings>
</dxg:GridColumn>
<dxg:GridColumn VisibleIndex="4" x:Name="fftdtto" Header="{Resx fftdtto}" FieldName="fftdtto" utils:AbsoluteVisibleColumn.IsEnable="False" Width="120" Visible="{Binding Visibility.fftdtto, Mode=TwoWay}" AllowEditing="{Binding Accessibility.fftdtto, Converter={converters:BoolToBooleanDefaultConverter}, Mode=OneWay}" IsEnabled="{Binding Accessibility.fftdtto, Converter={converters:BoolToBooleanDefaultConverter}, Mode=OneWay}" FilterPopupMode="Date">
<dxg:GridColumn.EditSettings>
<dxe:DateEditSettings Mask="dd/MM/yyyy HH:mm" MaskType="DateTimeAdvancingCaret" MaskUseAsDisplayFormat="True" />
</dxg:GridColumn.EditSettings>
</dxg:GridColumn>
<dxg:GridColumn VisibleIndex="3" x:Name="fftdtfr" Header="{Resx fftdtfr}" FieldName="fftdtfr" utils:AbsoluteVisibleColumn.IsEnable="False" Width="120" Visible="{Binding Visibility.fftdtfr, Mode=TwoWay}" AllowEditing="{Binding Accessibility.fftdtfr, Converter={converters:BoolToBooleanDefaultConverter}, Mode=OneWay}" IsEnabled="{Binding Accessibility.fftdtfr, Converter={converters:BoolToBooleanDefaultConverter}, Mode=OneWay}" FilterPopupMode="Date">
<dxg:GridColumn.EditSettings>
<dxe:DateEditSettings Mask="dd/MM/yyyy HH:mm" MaskType="DateTimeAdvancingCaret" MaskUseAsDisplayFormat="True" />
</dxg:GridColumn.EditSettings>
</dxg:GridColumn>
<dxg:GridColumn VisibleIndex="4" x:Name="fftdtto" Header="{Resx fftdtto}" FieldName="fftdtto" utils:AbsoluteVisibleColumn.IsEnable="False" Width="120" Visible="{Binding Visibility.fftdtto, Mode=TwoWay}" AllowEditing="{Binding Accessibility.fftdtto, Converter={converters:BoolToBooleanDefaultConverter}, Mode=OneWay}" IsEnabled="{Binding Accessibility.fftdtto, Converter={converters:BoolToBooleanDefaultConverter}, Mode=OneWay}" FilterPopupMode="Date">
<dxg:GridColumn.EditSettings>
<dxe:DateEditSettings Mask="dd/MM/yyyy HH:mm" MaskType="DateTimeAdvancingCaret" MaskUseAsDisplayFormat="True" />
</dxg:GridColumn.EditSettings>
</dxg:GridColumn>
4 Replies
Mayor McCheese
Mayor McCheese11mo ago
I'd expect reordering the xaml would work, but that sounds like you tried that first; wdym by switch code order though?
Accord
Accord11mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Reed
Reed11mo ago
By that I meant switching the code order lines in the XAML file I assume it has something to do with DevExpress
Accord
Accord11mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server
More Posts
❔ When using AbstractValidator, is there any way that i can override the http status code?Im trying to return a 422 HTTP Status code when the error occurs, but by default it returns a 400 Ba❔ Best way to structure MVVM WPF App for multiples popupsHi ! I have a (nooby) WPF question. So I'm using MVVM paterns Here is my folder structure: ``` /MVVM❔ anyone uses/used/run splashkit on visual studio from iOS/MacBooks?Or any recommendation on tutorials ? Most tutorials I’ve seen were on windows and lowkey getting con❔ Whats the fastest way to write this data to a file? (C# Console App.)I need to write an int[][] to disk. Each int[] has 2 values, and the full int[][] has 100mil entries❔ Thin/Thick UI DesignHi! I've been a longtime c#.net programmer at a corporate office. I've been wanting to do some side Visual Studio project reference not updating with new codeBasically I have 2 projects in separate solutions, API and Data (the projects) API usually reference✅ HTTP Error 500.30 - ASP.NET Core app failed to startHello! I'm getting this error after deploying a net core app to IIS 10 (Windows 10 pc). Publish se✅ what is a .zero resource file?im looking at some code for an encoder/decoder and it uses a resource file called Aura.zero but its ❔ What is the best GUI system for C#?Does anyone know a good lib that impliment a gui system?Background service to consume a rabbitmq queue, messages unackedI have a background worker which listens to a rabbitmq queue for email sending. The messages are add