Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Matrix Row Disabled

Former Member
0 Likes
685

Hello,

I am working with an addon that add a button to a from. This button, add a row a to a matrix, but when a row is added, the fields are bisabled. How can I put them available? Thanks...

Julia

5 REPLIES 5
Read only

Former Member
0 Likes
650

Hi Julia,

You should be a bit more specific..... "Matrix" is a table control or a grid control and field disabled means you can see the fields but they are not input-enabled?

Regards,

John.

Read only

0 Likes
650

John,

Sorry about my english. Your interpretation was exactly what I was trying to say. Matrix is a grid control in the form. I see the fiels, but when I try to put a new value, a get this message: Invalid Form Item.

Thank you very much,

Julia

Read only

0 Likes
650

Hi Julia,

Your English is ok! Could you please post the piece of coding where you add the row to the Grid Control?

Regards,

John.

Read only

0 Likes
650

John, this is a piece of my code:

OGrid.AddRow()

ll_i = ll_i + 1

OGrid.Columns.Item("2").Cells.Item(ll_i).Specific.Value = ls_field

I explain a little more my process:

I cross a file, and by each line of the file I insert a row in the grid. This way the new row is disabled. But if I insert a row manually, using the "tab" key of the previous row, i get a new row available. Perhaps if I could force this behavior?

I hope that you understand to me.

Thanks again.

Julia

Read only

0 Likes
650

The solution to my problem was to add this line:

OGrid.GetLineData(ll_i)

Thanks.

Julia