Listview remove columns on the fly

2010-08-31 Thread Altuğ Bilgin Altıntaş
Hi all; How can i disable Listview's column/s while post it to excel on the fly. I mean i don't want to post all columns into excel. Link linkExcel = new Link(linkExcel) { private static final long serialVersionUID = 1L; @Override public void onClick() {

Re: Listview remove columns on the fly

2010-08-31 Thread Martin Makundi
Re-render it before going to excel.. 2010/8/31 Altuğ Bilgin Altıntaş alt...@gmail.com: Hi all; How can i disable Listview's column/s while post it to excel on the fly. I mean i don't want to post all columns into excel. Link linkExcel = new Link(linkExcel) {            private static final

Re: Listview remove columns on the fly

2010-08-31 Thread Altuğ Bilgin Altıntaş
Any code example ? Thanks. 2010/8/31 Martin Makundi martin.maku...@koodaripalvelut.com Re-render it before going to excel.. 2010/8/31 Altuğ Bilgin Altıntaş alt...@gmail.com: Hi all; How can i disable Listview's column/s while post it to excel on the fly. I mean i don't want to post

Re: Listview remove columns on the fly

2010-08-31 Thread Martin Makundi
Any button will re-render the page. Just make your column in visible: listview() { onpopulate (item) { item.add(column.setVisible(if-you-want-to-show-it-now)); } } form.add(listview); button=new button() { onsubmit() { if-you-want-to-show-it-now = false; } } form.add(button);

Re: [BULK] Re: Listview remove columns on the fly

2010-08-31 Thread Benedikt Schlegel
If you want to modify your data on a column-base, you should consider using a DataTable instead of DataView/ListView. So long, Benedikt Save Paper: Think Before You Print Beta Systems Email Disclaimer and Email Impressum Beta Systems email messages are confidential. They may also be