Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » How set read-only state to a editable column?
Re: How set read-only state to a editable column? [message #5601 is a reply to message #5505] |
Thu, 05 October 2006 14:13   |
nicomesas
Messages: 104 Registered: September 2006 Location: Barcelona, Spain
|
Experienced Member |
|
|
Hey unodgs (Daniel?)
Still I am testing your wonderful GridCtrl and I have found a behavior quite rare.
Test it this small piece of code and you will see how the horizontal scrollbar does not work fine.
myGrid.Reset() ;
myGrid.Absolute() ;
String f = "NAME,EMAIL,tratamiento,cargo,dirección,codpostal,poblacion,provincia,pais,lengua,telefonos" ;
Vector<String> cols = Split( f, ',') ;
for (int i = 0; i < cols.GetCount(); i++)
{
myGrid.AddColumn(cols[i]).Width(150) ;
}
myGrid.AddRow(120) ;
Your you can solve the problem calling to
myGrid.AddColumns(col[i],150) ;
I believe that the Width function is failing, I believe we need to make a synchronization between the width total of the GridCtrl with the total of the sum of size of all the columns.
Nico
|
|
|
 |
|
How set read-only state to a editable column?
By: nicomesas on Thu, 28 September 2006 11:22
|
 |
|
Re: How set read-only state to a editable column?
By: nicomesas on Thu, 28 September 2006 11:58
|
 |
|
Re: How set read-only state to a editable column?
By: mirek on Fri, 29 September 2006 14:52
|
 |
|
Re: How set read-only state to a editable column?
By: nicomesas on Fri, 29 September 2006 15:56
|
 |
|
Re: How set read-only state to a editable column?
By: mirek on Sun, 01 October 2006 18:49
|
 |
|
Re: How set read-only state to a editable column?
|
 |
|
Re: How set read-only state to a editable column?
|
 |
|
Re: How set read-only state to a editable column?
By: mirek on Tue, 03 October 2006 15:06
|
 |
|
Re: How set read-only state to a editable column?
|
 |
|
Re: How set read-only state to a editable column?
|
 |
|
Re: How set read-only state to a editable column?
By: mirek on Wed, 04 October 2006 11:54
|
 |
|
Re: How set read-only state to a editable column?
|
 |
|
Re: How set read-only state to a editable column?
By: unodgs on Wed, 04 October 2006 22:24
|
 |
|
Re: How set read-only state to a editable column?
By: unodgs on Thu, 05 October 2006 00:25
|
 |
|
Re: How set read-only state to a editable column?
|
 |
|
Re: How set read-only state to a editable column?
By: unodgs on Thu, 05 October 2006 11:27
|
 |
|
Re: How set read-only state to a editable column?
|
 |
|
Re: How set read-only state to a editable column?
By: unodgs on Thu, 05 October 2006 15:13
|
 |
|
Re: How set read-only state to a editable column?
|
 |
|
Re: How set read-only state to a editable column?
|
 |
|
Re: How set read-only state to a editable column?
By: unodgs on Thu, 05 October 2006 15:10
|
 |
|
Re: How set read-only state to a editable column?
|
Goto Forum:
Current Time: Sat Jul 05 00:17:01 CEST 2025
Total time taken to generate the page: 0.06228 seconds
|