473,387 Members | 1,779 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How to revert the column header sorting in DataGridView

Hi,

I want to get the old state (lets say datagridview default state) of grid after sorting is done. How can I achive this.

Please suggest
Sep 28 '10 #1
1 1476

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Grey | last post by:
How can I get the column header name when user click on the column for sorting purpose?? Million thanks
0
by: p19010101 | last post by:
Using sample codes from msdn and code snippets from this group, I am able to derive a custom listivew user control with column sorting and up/down icons in the column header. It works fine except...
4
by: Matt | last post by:
Another interesting issue: I set the default font on most of my forms to what I want the text in my controls to show up as (say, Verdana 9pt.), and then just change the font on labels and buttons...
0
by: SyB | last post by:
Hi, Does anyone know where I can find info/example on adding a checkbox into a header cell of a DataGridViewCheckBoxColumn. Cheers, Sy
1
by: Prashwee | last post by:
Hi All Just a small problem. I am using DataGridView control for my project implementing in VB 2005. I need to resize my column header lable withd dyamically so that the user can see the lable...
1
by: kewldudehere | last post by:
Hi, I want to prevent the datagrid sorting on column header click events. i m handling mouse down events.When i have a breakpoint over my mousedown event and set my datagrid.allowsorting = false ...
3
by: Bill Nguyen | last post by:
I can't figure out how to identify/display the column header name in Mouseclick event. This is a checkbox column type and I would like all cells in this column to toggle checked/unchecked when the...
0
by: Simonsson | last post by:
I'm trying (using C#) to put an image (Icon or Bitmap maybe) in the column header cell of a DataGridView. I have no problems putting images in other cells. I do that like this: myDataRow =...
2
by: Peter Morris | last post by:
DataGridView allows the user to sort data by clicking a column header. Can someone tell me how I can configure the control so that the first column is by default sorted ascending? Thankyou ...
0
by: clarkp73 | last post by:
Hi In VBA I populate an unbound subform (datasheet view) via a recordset that can be changed using filters selected by the user. The only problem I am having is that due to the unbound nature of...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.