>>>>>>I want freeze columns in grids
>>>>>>
>>>>>>I want to highlight the selected row
>>>>>>
>>>>>>How can help me
>>>>>>
>>>>>>Thanks,
>>>>>>
>>>>>>Jan Dorresteijn
>>>>>Jan,
>>>>>For highlighting check files\classes section for "Two grid classes-gridx.zip". For freezing it's best and simple to set other columns enabled = .f. or "return .f." in when.
>>>>>Cetin
>>>>
>>>>Thanks for you reply
>>>>
>>>>If have download the grid classes-gridx.zip to look at the highlighted example
>>>>
>>>>I have tested the freese option
>>>>but if i set the grid.enabled to .f. or return .f. in the when there is
>>>>no scrolling at all possible.
>>>>
>>>>I want to freeze only one column.
>>>>If you have an other idee please reply.
>>>>
>>>>Kind regard
>>>>
>>>>
>>>>Jan dorresteijn
>>>Jan,
>>>Freeze means do not let horizontal scrolling with keyboard to the fields not in freeze list. You could still scroll with clicking on horizontal scroll bar. Or in fact you want to step on all the fields with keyboard but only let edit some column ? If so just set readonly = .t. for columns that wouldn't be edited.
>>>Cetin
>>
>>I want to have the first column always on the left site in the grid.
>>So if i scroll to the right the columns must be scroll only the first
>>column must stay on the left top
>OIC. It's locking not freezing. You could split the grid and left partition could show the first column always (add code there to force stay on right). Another trick is to change columnorder of "that" column to be -1 of second visible column.
>Cetin
I have change in the grids.scrolled event
this.column1.columnorder = this.leftcolumn
It worked.
Thanks for your help
Regards jan
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only