Skip to Content
0
Former Member
Sep 29, 2006 at 09:08 AM

Need to create a dynamic caption(column name) in a dynamic table

28 Views

Hi All,

I have created dynamic table .But the dynamic column is not showing.I have created two column name that is name and empId .I have tried with following code

IWDCaption nameCap=(IWDCaption)view.createElement(IWDCaption.class,"nameCap");

nameCap.setText("Name");

tabColumn1.setHeader((IWDCaption)nameCap);

IWDCaption addCap=(IWDCaption)view.createElement(IWDCaption.class,"addCap");

addCap.setText("Address");

tabColumn2.setHeader((IWDCaption)addCap);

I m getting internal server error...But When i m comented the above code i can able to see tha dynamic table withput column name..Can anyone help me

Suman