On May 27, 2008, at 2:30 PM, Adrian Klaver wrote:

> I may be reinventing the wheel here, but I could find no method in  
> dGrid to find the column index for a column by using its DataField  
> name. getColByDataField() returns a column name but no index value.  
> The problem lies in using setValue() where a row and column index  
> are needed. To get around this I modified getColByDataField():


        Columns have a property named '_GridColumnIndex'. It was created for  
"internal use only", hence the leading underscore.

        Question: why, if you have a column reference, do you need the index?

-- Ed Leafe





_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to