Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 613047
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T17:57:35+00:00 2026-05-13T17:57:35+00:00

Scenario I am using the latest version of DevExpress XtraGrid. I am currently binding

  • 0

Scenario

I am using the latest version of DevExpress XtraGrid.
I am currently binding the DataView of a DataTable to the datasource of the gridcontrol in C#.
Since this DataTable gets updated every second, I have to refresh the gridcontrol.

ALSO

The DevExpress XtraGrid comes with the ability to automatically drag and drop the column headers into a group/sort like manner. This refresh problem I am having is particularly noticeable when I incorporate the use of the "group by column header" feature – In that the data that is grouped is collapsed under a single row. If I expand this row to see the data, it immediately shuts again upon Update – which at the minute is every second, rendering the grouping feature useless.

Question

How can I go about doing this without redrawing the whole thing?
I literally just want to see the numbers dynamically changing AND be able to use the grouping feature continually without it collapsing by itself when the rows of data update.

Current Code

        DataView dvw = latestCurve.Tables[0].DefaultView;
        dvw.Sort = "Ccy Asc AND Date Asc";
        this.gridControl2.DataSource = dvw;
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T17:57:35+00:00Added an answer on May 13, 2026 at 5:57 pm

    Assuming your default view for gridControl2 is named gridView2:

    gridView2.BeginUpdate();
    try
    {
        your code goes here
    }
    finally
    {
        gridView2.EndUpdate();
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to implement this scenario using Unity and i can't figure out how
Hey, This is my scenario: Using visual studio 2008. Project is in c# Using
I am using the latest version Telerik MVC controls . I am using ASP.NET
Scenario: Delphi 2010 running the latest Indy version from svn trunk. I have an
My scenario I'm using django-storage to have the files served via Amazon S3. This
The Scenario Using jQuery, I have a page that has a popup overlay containing
Scenario While using the Maven Ant Task artifact:deploy , I'm encountering the error java.lang.OutOfMemoryError:
The Scenario I am using PHP's SimpleXML to parse a blog feed. The most
The scenario I am using LINQ is as follows: I have a method that
Here is my scenario: I'm using nhibernate, openning and closing the session in an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.