cancel
Showing results for 
Search instead for 
Did you mean: 

Lead Selection for table column needs to be disabled

Former Member
0 Kudos

HI Team,

I have table with multiple rows and multiple columns.

Based on the lead selection of the row we are displaying the some form.

But in table row there are some columns like enter date, when the user is trying to enter the date, it displaying the form because of lead selection and it is not allowing the user to enter the date.

So, I want disable the lead selection for some columns.

How can I do this?

Regards,

BAla

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

I think that you can get the UI Table in the wdDoModifyView method, and then the UI Column and play with his values, is something like this:

IWDTable table =(IWDTable)view.getElement( ");

And then play with the "column" methods.

Josué Cruz

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You can create the attributes of type boolean for the number of columns you want to make readOnly. Bind this attribute to the column's TableCellEditor read Only property which ever you have added. At the run time depending upon your condition (say onActionLeadSelect) you can set this attribute property to true.

Regards,

Manoj

Former Member
0 Kudos

Hi ,

Change the compatibitityMode property of the Table UI element from auto to nw04Plus. It will disable the lead selection event for all the columns except row selection column of the table.

Regards

Ravindra