cancel
Showing results for 
Search instead for 
Did you mean: 

Drop down by key functionality

Former Member
0 Kudos

Hi Experts,

I have an table and a dropdown by key which holds simple types values iam trying to get the documents in a table

but when the table is empty then the drop down by key which hold simple type values is in displaying in disable mode

so how can i make it enable.

Waiting for your responses..

Thanks in Advance,

Accepted Solutions (1)

Accepted Solutions (1)

former_member214651
Active Contributor
0 Kudos

Hi,

Check the size of the Node which u have bound to the Table. If is is zero, then create an empty object of the Node, This will enable the Dropdown UI element.

I<nodename>Element object = wdContext().createAndAdd<nodename>Element();

Regards,

Poojith MV

Former Member
0 Kudos

Thanks a lot ...

it resolved my issue given you full points..

Answers (1)

Answers (1)

gill367
Active Contributor
0 Kudos

hi

could you please elborate a bit on the relation between table and the drop down.

Regards,

Sarbjeet

Former Member
0 Kudos

Hi,

When the table is empty means the size of the node with which the table is bound is 0. As a result the field is showing disable. The node must contain elements to enable the field.

Thanks