cancel
Showing results for 
Search instead for 
Did you mean: 

Grid Column: Editable="0" don't work well

Former Member
0 Kudos

Hello all.

I'm inserting a new grid column on a specific grid of an addon and I'm having the following problem:

The column property "Editable" are "0" (false), but the rows below the last filled row looks as an editable column, only for this new column.

All visual code of this form are in a SRF file, and here is the tag of this column:


<GridColumn UniqueID="COCodLCM" Title="Código do LCM Gerado" LinkedObject="30" Visible="1" Editable="0" AffectsFormMode="1" RightJustified="0" Type="16" Width="151">
    <ValidValues></ValidValues>
</GridColumn>

A printscreen of the problem:

http://img828.imageshack.us/img828/5217/problemnq.png

How can i fix this?

Thanks.

Edited by: Leandro Daminelli on Feb 14, 2012 5:55 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Leandro,

the active grid might be holding cursor, that's why its not editable. please shift cursor position on some other fields say on empty Screen Field at header level..

try


Dim set_focus As Item
Set set_focus = oTmpForm.Items.Item("3")  
set_focus.Click (ct_Regular)                         
o_Matrix.Columns.Item(3).Editable = False

Thanks and Regards,

kaviprashu

Answers (2)

Answers (2)

Former Member
0 Kudos

Thank you!!

It works.

Former Member
0 Kudos

Hi Leandro,

the active grid might be holding cursor, that's why its not editable. please shift cursor position on some other fields say on empty Screen Field at header level..

try


Dim set_focus As Item
Set set_focus = oTmpForm.Items.Item("3")   
set_focus.Click (ct_Regular)                         
o_Matrix.Columns.Item(3).Editable = False

Thanks and Regards,

kaviprashu