Telerik UI for WinForms
Overview
Demos
Roadmap
What's New
Roadmap
Release History
Docs & Support
Pricing
Search
Shopping cart
Login
Contact Us
Try now
close mobile menu
Telerik Forums
/
UI for WinForms
This is a migrated thread and some comments may be shown as answers.
how to Reorder column based on certain value?
1 Answer
21 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Tobin
Top achievements
Rank 1
Tobin
asked on
03 Nov 2008,
10:05 AM
Hi Telerik,
how to reorder the column based on certain values?
For example:
data1 data2 data3 data4
data a 1 10 20 30
data b 20 30 50 10
data c 4 1 2 3
total 25 41 72 33
become
data3 data2 data4 data1
data a 20 10 30 1
data b 50 30 10 20
data c 2 1 3 4
total 72 41 33 25
Thanks.
Add a comment
Submit comment
Cancel
1 Answer
, 1 is accepted
Sort by
Score
Date
0
Nick
Telerik team
answered on
04 Nov 2008,
08:51 AM
Hello Tobin,
Thank you for your question.
Please see the code below:
this
.radGridView1.Columns.Move(2, 1);
It moves the third column to the second place.
Do not hesitate to write me back if you have further questions.
All the best,
Nick
the Telerik team
Check out
Telerik Trainer
, the state of the art learning tool for Telerik products.
Add a comment
Submit comment
Cancel
Answer this question
Drag and drop files here or
browse
to attach...
Browse
for files to attach...
Supported file types: PNG, JPG, JPEG, ZIP, RAR, TXT. Max total file size - 20MB.
Submit answer
Cancel
Tags
GridView
Asked by
Tobin
Top achievements
Rank 1
Answers by
Nick
Telerik team
Share this question
or
Copy link