[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
] [
Newsgroup Home
]
[news.eclipse.birt] Drop a column from TableHandle
From
:
saiful.raju@xxxxxxxxx
(raju )
Date
: Thu, 23 Oct 2008 06:38:26 +0000 (UTC)
Newsgroups
:
eclipse.birt
Organization
: Eclipse
User-agent
: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
Greetings all
How can i delete a particular column from data table(TableHandle) .I have used following code but i am sure its not the right way , because i am not getting right output with that.
Here is the code
RowHandle rowHandle = (RowHandle)dataTable.getDetail().getContents().get(0);
for(int k = 0 ; k<rowHandle.getCells().getContents().size(); k++){
CellHandle cellHandle = (CellHandle)rowHandle.getCells().getContents().get(k);
for(int m = 0 ;m<cellHandle.getContent().getContents().size() ; m++){
DataItemHandle dataItemHandle= (DataItemHandle)cellHandle.getContent().getContents().get(m);
if(dataItemHandle.getResultSetColumn().equals("CITY")){
cellHandle.drop();
cellHandle.dropAndClear();
}
}
}
with the above code it just delete the particular cell,but i want to delete the column of that table .
Help me in this regard.
Follow-Ups
:
[news.eclipse.birt] Re: Drop a column from TableHandle
From:
Jason Weathersby
Prev by Date:
[news.eclipse.birt] Re: Port report files to an older version
Next by Date:
[news.eclipse.birt] how to use birt.library in a webapp
Previous by thread:
[news.eclipse.birt] 2.3.1 Fixes/Change log
Next by thread:
[news.eclipse.birt] Re: Drop a column from TableHandle
Index(es):
Date
Thread