How to delete or add columns in a DataTable.

Hi,I need to delete/add columns for a DataTable programaticaly... Can anyone help me in this ?. In source code I added a datatable and lets take 3 columsn I added. While running application, I need to delete and add columns whenever I want.Please help me....
[279 byte] By [phani_prakhyaa] at [2007-11-27 7:39:04]
# 1
Add a binding attribute to the dataTable so you can access it from a backing bean. Use methods on the backing bean to add or delete columns appropriately.
RaymondDeCampoa at 2007-7-12 19:19:39 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
can you give a sample code for this... I really want this code...just to re-confirm you, I want to add or delete columns not rows...
phani_prakhyaa at 2007-7-12 19:19:39 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
> can you give a sample code for this... I really want> this code...> just to re-confirm you, I want to add or delete> columns not rows...I don't have sample code, why don't you give it a try?
RaymondDeCampoa at 2007-7-12 19:19:39 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
Check this one http://www.irian.at/myfaces/crossDataTable.jsf-Hitesh
hitesh_2810a at 2007-7-12 19:19:39 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...