Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
120
incorrect headline by using of "OutlookGroupBy"
posted

Hello, I think there is an error in the "OutlookGroupBy" functionality of the WinGrid.

The language of my computer is german (Windows XP Professional).

(Regional and Language Options

Regional Options:

Standards and formats: German (Germany)

Location: Germany

Advanced: Language for not-Unicode programs: German (Germany))

 

Steps to reproduce:

 

1. Create a new WindowsFormsApplication project.

2. Place the UltraGrid on the form.

3. Dock = Fill;

   DisplayLayout.ViewStyleBand = OutlookGroupBy;

               

4. Code for the form:   

 //Form1.cs

 

using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Text;

using System.Windows.Forms;

 

namespace GridOutlookGroupByTest

{

    public partial class Form1 : Form

    {

        public Form1()

        {

            InitializeComponent();

        }

         private void Form1_Load(object sender, EventArgs e)

        {

            DataTable dt = new DataTable();

            dt.Columns.Add("Date", typeof(DateTime));

 

            for(int i = -30; i < 30; i++ )

            {

                dt.Rows.Add(new object[1] { DateTime.Now.AddDays(i)});

            }

             ultraGrid1.DataSource = dt;

        }

    }

}

 

 

// Programm.cs

 

using System;

using System.Collections.Generic;

using System.Windows.Forms;

using System.Threading;

 

namespace GridOutlookGroupByTest

{

    static class Program

    {

        /// <summary>

        /// Der Haupteinstiegspunkt für die Anwendung.

        /// </summary>

        [STAThread]

        static void Main()

        {

            Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("de-DE");

            Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("de-DE");

 

            Application.EnableVisualStyles();

            Application.SetCompatibleTextRenderingDefault(false);

            Application.Run(new Form1());

        }

    }

}

 

5. Set current Day on the computer to Monday.

6. Drop the column header into the GroupBy box.

 

There is a incorrect headline for the group with item for next Sunday.

It must be "Sontag" (sunday), but "Gestern"(Yesterday) is shown instead.

 

Is there any work around for this error?

Tanks.

 

Parents Reply Children
No Data