Click here to Skip to main content
15,913,610 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to pass values to managed to unmanaged code? Pin
mutpan20-May-09 21:58
mutpan20-May-09 21:58 
GeneralRe: How to pass values to managed to unmanaged code? Pin
Klempie21-May-09 0:33
Klempie21-May-09 0:33 
Questionpointer and address? Pin
dec8220-May-09 19:10
dec8220-May-09 19:10 
AnswerRe: pointer and address? Pin
Samer Aburabie20-May-09 20:49
Samer Aburabie20-May-09 20:49 
QuestionTrying to create a form ( on main thread) from a background thread ( using Invoke()) Pin
franco nero20-May-09 18:50
franco nero20-May-09 18:50 
AnswerRe: Trying to create a form ( on main thread) from a background thread ( using Invoke()) Pin
Nicholas Butler21-May-09 2:02
sitebuilderNicholas Butler21-May-09 2:02 
QuestionMulti thread Pin
yesu prakash20-May-09 18:16
yesu prakash20-May-09 18:16 
AnswerRe: Multi thread Pin
Luc Pattyn20-May-09 19:26
sitebuilderLuc Pattyn20-May-09 19:26 
GeneralRe: Multi thread Pin
yesu prakash20-May-09 20:55
yesu prakash20-May-09 20:55 
GeneralRe: Multi thread Pin
Luc Pattyn21-May-09 3:07
sitebuilderLuc Pattyn21-May-09 3:07 
QuestionPrint Datagridview Pin
yueru20-May-09 17:58
yueru20-May-09 17:58 
AnswerRe: Print Datagridview Pin
Luc Pattyn20-May-09 19:34
sitebuilderLuc Pattyn20-May-09 19:34 
GeneralRe: Print Datagridview [modified] Pin
yueru21-May-09 18:49
yueru21-May-09 18:49 
QuestionC1FlexGrid column ordering Pin
gvanto20-May-09 17:56
gvanto20-May-09 17:56 
I have a C1FlexGrid component, to which I am binding a datasource, the following:

A collection of 'View' type objects (code below) which expose their properties for viewing by the grid.

The problem is the ordering of the columns of the C1FlexGrid component. I manually set them to be Number, Attach, Detach, but as soon as a DataSource is set, the column order for some reason changes to Attach, Number, Detach.

Is there a way to forcefully set the columns to appear in a certain order once a datasource has been set?
I was thinking perhaps there's an attribute (component model) to specify with each property but hours of googling and searching MS help has produced nothing!

Any help would be much appreciated!

g


<br />
 class TrancheView<br />
    {        <br />
        private uint number;<br />
        //... other private vars<br />
<br />
        public TrancheView(BespokeTranche _tranche, uint _number)<br />
        {<br />
            this.tranche = _tranche;<br />
            tranche.TrancheNumber = _number;<br />
            this.number = _number;<br />
        }<br />
<br />
        public uint Number <br />
        {<br />
            //get { return this.number; }<br />
            get { return tranche.TrancheNumber; }            <br />
        }<br />
<br />
        public decimal Attach<br />
        {<br />
            get { return tranche.Attach; }<br />
            set {<br />
                log.Info("setting Attach value");<br />
                tranche.Attach = value;<br />
            }<br />
        }<br />
<br />
        public decimal Detach<br />
        {<br />
            get { return tranche.Detach; }<br />
            set<br />
            {<br />
                log.Info("setting Detach value");<br />
                tranche.Detach = value;<br />
            }<br />
        }        <br />
    }<br />
<br />


Find Your Dream Job in Australia, Free!
http://www.WebCV.com.au

AnswerRe: C1FlexGrid column ordering Pin
Jimmanuel21-May-09 0:30
Jimmanuel21-May-09 0:30 
GeneralRe: C1FlexGrid column ordering Pin
gvanto21-May-09 14:17
gvanto21-May-09 14:17 
QuestionPosting messages Pin
BidSki20-May-09 17:34
BidSki20-May-09 17:34 
AnswerRe: Posting messages Pin
Henry Minute21-May-09 0:13
Henry Minute21-May-09 0:13 
QuestionAccess To Path Denied Pin
BlitzPackage20-May-09 16:40
BlitzPackage20-May-09 16:40 
AnswerRe: Access To Path Denied Pin
Luc Pattyn20-May-09 17:16
sitebuilderLuc Pattyn20-May-09 17:16 
GeneralRe: Access To Path Denied Pin
BlitzPackage21-May-09 16:26
BlitzPackage21-May-09 16:26 
GeneralRe: Access To Path Denied Pin
Luc Pattyn21-May-09 16:55
sitebuilderLuc Pattyn21-May-09 16:55 
QuestionAccess to the VGA/DVI port Pin
Bobby Hang20-May-09 14:59
Bobby Hang20-May-09 14:59 
AnswerRe: Access to the VGA/DVI port Pin
Luc Pattyn20-May-09 15:15
sitebuilderLuc Pattyn20-May-09 15:15 
GeneralRe: Access to the VGA/DVI port Pin
Bobby Hang20-May-09 15:25
Bobby Hang20-May-09 15:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.