Hi , As shown in image, all rows are pre-selected through data utility
In Tree-Builder :
ColumnConfig localColumnConfig2 = localComponentConfigFactory.newColumnConfig("abc", false);
|
In xconf :
<Option serviceClass="PreSelectRowDataUtility"selector="abc"cardinality="duplicate"requestor="java.lang.Object"/>
In Data Utility :
public class PreSelectRowDataUtility extends AbstractBooleanValueDataUtility
{
public boolean getBooleanAttributeValue(String paramString, Object paramObject, ModelContext paramModelContext) throws WTException
{
return true;
}
}
Now we want first row as Non Selectable. There should be no checkbox in first row.
for that there is ptc method
localTreeConfig.setNonSelectableColumn(localColumnConfig2); |
and DataUtility AbstractNonSelectableRowDataUtility
But there is already one data utility registered in xconf regarding this column"abc" . how we can do implement both functionality togather ?
Requesting for Help. Thanks