Hi,
I had a table in which one of the column is a dropdown element.
I added some elements to the dropdown. But when the table is displayed, the dropdown is showing as disabled and not able to see all the elements I added.
I am able to see the element which is selected initially.
Set keys = valueMap.keySet();
String key, value;
IPrivateReportView.IDropDownElement ele;
IPrivateReportView.IDBTableElement dbEle;
Map valueMap;
String selectKey;
int counter = 0;
for (Iterator iter = keys.iterator(); iter.hasNext();) {
key = (String) iter.next();
value = valueMap.get(key).toString();
ele = dbEle.nodeDropDown().createDropDownElement();
ele.setId(key);
ele.setText(value);
dbEle.nodeDropDown().addElement(ele);
if (key.equals(selectKey)) {
dbEle.nodeDropDown().setLeadSelection(counter);
}
counter++;
}
Can anyone help on this.
Regards
MQ