cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable a Entire row in a Matrix in Find Mode (User Form)

Former Member
0 Kudos

Hi,

How to disable a Entire row in a Matrix in Find Mode (User Form)

Regards

Jambu

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Iam using Bubble event = false in click event but the matrix row

is allow to edit but we cant save the document in Find Mode That is fine.

What is my actual requirement is In find mode matrix Row not allow to enter the data .

For examble In ADD mode i enter the data in Three rows (Item Section - Matrix) and

save the document. Whwn i open the document in find mode the three row is not allow

to editable like the same functionality of PO, sales Order, etc ..

Regards

Jambu

Former Member
0 Kudos

Hi

If your requirement is not to allow the user to edit the existing data and not to allow to add new line also.Then You can make Matrix Item As editable false.

oForm.Items.Item("Matrix1").Enabled = False

hope it helps

Regards

Vishnu

rasmuswulff_jensen
Active Contributor
0 Kudos

Or use the items method called "SetAutoManagedAttribute()"... That makes it (among other things) possible to have the matrix open in add-mode but disabled in find mode


oForm.Items.Item("uid").SetAutoManagedAttribute(BoAutoManagedAttr.ama_Editable,BoAutoFormMode.afm_Find,BoModeVisualBehavior.mvb_False);

Former Member
0 Kudos

Hi

How to whole items and columns.are Disable.?

Regards

rasmuswulff_jensen
Active Contributor
0 Kudos

Hi Jambu... I don't understand your question... Please try to explain a bit more please

rasmuswulff_jensen
Active Contributor
0 Kudos

Hi Jambu

The current SDK does not have any option to disable rows... only whole items and columns.

What I would do in your situtaion would be in find mode catch the click-event and set BubbleEvent to false if someone try to click on any of the cells in the row... This does not disable the row, but it do make it impossible to enter it.