Re: Dynamic datatable columns (sequel)

2017-03-20 Thread James Selvakumar
Thanks Sven. That was very clear. On Fri, Mar 17, 2017 at 3:34 PM, Sven Meier wrote: > Hi, > > you can just pass an empty collection of columns to dataTable: > > private List> columns = new ArrayList<>(); > > public DataTablePage() { > DataTable dataTable = new > DefaultDataTable

Re: Dynamic datatable columns (sequel)

2017-03-17 Thread Sven Meier
Hi, you can just pass an empty collection of columns to dataTable: private List> columns = new ArrayList<>(); public DataTablePage() { DataTable dataTable = new DefaultDataTable<>("table", columns, dataProvider, 8); add(); } protected void onConfigure()

Re: Dynamic datatable columns (sequel)

2017-03-17 Thread James Selvakumar
Hi Sven, I'm a bit clueless about this. Could you share a little code example to help me? Thanks. On Thu, Mar 16, 2017 at 5:03 PM, James Selvakumar wrote: > Hi Sven, > > Thanks for the info. Will try that out. > > On Thu, Mar 16, 2017 at 4:20 PM, Sven Meier wrote: > >> Hi, >> >> you can just

Re: Dynamic datatable columns (sequel)

2017-03-16 Thread James Selvakumar
Hi Sven, Thanks for the info. Will try that out. On Thu, Mar 16, 2017 at 4:20 PM, Sven Meier wrote: > Hi, > > you can just change the columns list (e.g. in #onConfigure) and everything > will work fine: > > https://issues.apache.org/jira/browse/WICKET-4596 > > Have fun > Sven > > > On 16.03.2

Re: Dynamic datatable columns (sequel)

2017-03-16 Thread Sven Meier
user input (via a DropDownChoice) over ajax. I came across this old post <http://apache-wicket.1842946.n4.nabble.com/Dynamic-DataTable-columns-td1856733.html> which mentions that this feature might be available in Wicket 1.4. Is this feature available in Wicket now? Can someone explain me

Dynamic datatable columns (sequel)

2017-03-15 Thread James Selvakumar
Hi all, I want to render a datatable with dynamically different columns based on user input (via a DropDownChoice) over ajax. I came across this old post <http://apache-wicket.1842946.n4.nabble.com/Dynamic-DataTable-columns-td1856733.html> which mentions that this feature might be availa

Re: dynamic DataTable

2011-08-07 Thread Clint Checketts
createDataTable() creates DataTable using provided id and sql > >>>> string. > >>>> Also there is a convenient method Component.replaceWith(). Maybe it'll > fit > >>>> better to your coding style. > >>>> > >>>> *** &

Re: dynamic DataTable

2011-07-23 Thread davut uysal
s DataTable using provided id and sql >>>> string. >>>> Also there is a convenient method Component.replaceWith(). Maybe it'll fit >>>> better to your coding style. >>>> >>>> *** >>>> >>>> I think this is what I need

Re: dynamic DataTable

2011-07-23 Thread Bertrand Guay-Paquet
ent to extract the table name, and find its meta data? -- View this message in context: http://apache-wicket.1842946.**n4.nabble.com/dynamic-** DataTable-tp3683514p3684513.**html<http://apache-wicket.1842946.n4.nabble.com/dynamic-DataTable-tp3683514p3684513.html> Sent from the Users forum ma

Re: dynamic DataTable

2011-07-23 Thread davut uysal
to create below method? >> >> *createDataTable("wicketId", "SQL")* >> >> Thanks, >> >> On 21 July 2011 21:05, Andrew >> Fielden >> >wrote: >> >> I see your problem Davut, but I really don't think Wicket can s

Re: dynamic DataTable

2011-07-22 Thread Bertrand Guay-Paquet
ls used by the various Wicket components. Could you somehow parse the SQL statement to extract the table name, and find its meta data? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/dynamic-DataTable-tp3683514p

Re: dynamic DataTable

2011-07-21 Thread davut uysal
e, and > find its meta data? > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/dynamic-DataTable-tp3683514p3684513.html > Sent from the Users forum mailing list archive at Nabble.com. > > -

Re: dynamic DataTable

2011-07-21 Thread Andrew Fielden
this message in context: http://apache-wicket.1842946.n4.nabble.com/dynamic-DataTable-tp3683514p3684513.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.or

Re: dynamic DataTable

2011-07-21 Thread davut uysal
, "Andrew Fielden" wrote: > Hi again Davut :) > > Are you asking this question in every possible forum in the hope of getting > a different answer? > > > -- > View this message in context: http://apache-wicket.1842946.n4.nabble.com/dynamic-DataTable-tp3683514p

Re: dynamic DataTable

2011-07-21 Thread Andrew Fielden
Hi again Davut :) Are you asking this question in every possible forum in the hope of getting a different answer? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/dynamic-DataTable-tp3683514p3683930.html Sent from the Users forum mailing list archive at Nabble.com

Re: dynamic DataTable

2011-07-21 Thread davut uysal
Wicket framework is that simple or not :) > > > > > > On 21 July 2011 15:18, Lurtz Nazgul wrote: > > > >> Any simple way ? > >> > >> Thanks. > >> > >> > >> > >> > >> From:

Re: dynamic DataTable

2011-07-21 Thread Josh Kamau
wickets AjaxFallbackDefaultDatatable is my favourite component. Josh On 21 Jul 2011 17:23, "Martin Grigorov" wrote: Am I that old or .NET is younger than 10 years ? First tell me what is so complex with wicket-extensions DataTable and I'll tell you how to do it ;-) You *need* to extract the D

Re: dynamic DataTable

2011-07-21 Thread Martin Grigorov
     GridView1.DataSource = ds; >            GridView1.DataBind(); > > So tell me if Wicket framework is that simple or not :) > > > On 21 July 2011 15:18, Lurtz Nazgul wrote: > >> Any simple way ? >> >> Thanks. >> >> >> >> __

Re: dynamic DataTable

2011-07-21 Thread davut uysal
gt; Any simple way ? > > Thanks. > > > > > From: Wilhelmsen Tor Iver > To: "users@wicket.apache.org" > Sent: Thu, July 21, 2011 3:10:16 PM > Subject: RE: dynamic DataTable > > > Since TextArea can contain any SELECT st

Re: dynamic DataTable

2011-07-21 Thread Lurtz Nazgul
Any simple way ? Thanks. From: Wilhelmsen Tor Iver To: "users@wicket.apache.org" Sent: Thu, July 21, 2011 3:10:16 PM Subject: RE: dynamic DataTable > Since TextArea can contain any SELECT statement, Column names, count can >change >

RE: dynamic DataTable

2011-07-21 Thread Wilhelmsen Tor Iver
> Since TextArea can contain any SELECT statement, Column names, count can > change > every time. So I need a dynamic table that is compatible to view any SELECT > Statement result. Since you appear to have no need for performing updates or inserts, try ditching the DataTable in favour of us

dynamic DataTable

2011-07-21 Thread Lurtz Nazgul
Hi, How can we create a dynamic DataTable which has dynamic Columns? I want to create a page that has following components: - A TextArea for SQL Statement input (User will type any SELECT Sql here) - A Submit button to run the SQL - A Table to view the SQL Resultset. Since TextArea can contain

Re: Dynamic DataTable columns, paging by columns

2008-05-02 Thread liza6218
rows. >> >> Thanks, >> Liza >> -- >> View this message in context: >> http://www.nabble.com/Dynamic-DataTable-columns%2C--paging-by-columns-tp16746544p16746544.html >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >

Re: Dynamic DataTable columns, paging by columns

2008-04-17 Thread Igor Vaynberg
here the number of columns and > their titles are Dynamic. And since there could be hundreds of columns, > how can I do paging by columns and/or paging by rows. > > Thanks, > Liza > -- > View this message in context: > http://www.nabble.com/Dynamic-DataTable-columns%2C--

Dynamic DataTable columns, paging by columns

2008-04-17 Thread liza6218
Hi, I have to show a table where the number of columns and their titles are Dynamic. And since there could be hundreds of columns, how can I do paging by columns and/or paging by rows. Thanks, Liza -- View this message in context: http://www.nabble.com/Dynamic-DataTable-columns%2C--paging

Re: Dynamic DataTable columns

2008-01-29 Thread Igor Vaynberg
t create a new DataTable with the new list of columns in > > the ajax call when you want to add/remove a column, then repaint the > > container holding the Table? > > > > -Clay > > > > -Original Message- > > From: Timo Rantalaiho [mailto:[EMAIL PROTECTED] &

Re: Dynamic DataTable columns

2008-01-29 Thread Igor Vaynberg
then repaint the > container holding the Table? > > -Clay > > > -Original Message- > From: Timo Rantalaiho [mailto:[EMAIL PROTECTED] > Sent: Monday, January 28, 2008 10:26 PM > To: users@wicket.apache.org > Subject: Re: Dynamic DataTable columns > > On Mon, 28

RE: Dynamic DataTable columns

2008-01-29 Thread UPBrandon
> > -Clay > > -Original Message- > From: Timo Rantalaiho [mailto:[EMAIL PROTECTED] > Sent: Monday, January 28, 2008 10:26 PM > To: users@wicket.apache.org > Subject: Re: Dynamic DataTable columns > > On Mon, 28 Jan 2008, UPBrandon wrote: >> Although,

RE: Dynamic DataTable columns

2008-01-29 Thread Clay Lehman
PM To: users@wicket.apache.org Subject: Re: Dynamic DataTable columns On Mon, 28 Jan 2008, UPBrandon wrote: > Although, in the mean time, I still have the same problem - not being able > to change change the columns after the DataTable has been declared, at > render time. Any suggestions?

Re: Dynamic DataTable columns

2008-01-28 Thread Timo Rantalaiho
On Mon, 28 Jan 2008, UPBrandon wrote: > Although, in the mean time, I still have the same problem - not being able > to change change the columns after the DataTable has been declared, at > render time. Any suggestions? Roll your own using DataView. You can take ideas from DataTable but I doubt

Re: Dynamic DataTable columns

2008-01-28 Thread UPBrandon
y and is very annoying in an OO framework. >> >> >> >> Does anyone know of any way I could make the columns in my table >> dynamic >> >> without setting the visibility of 's and 's from inside my >> >> IColumns? >> >> Any

Re: Dynamic DataTable columns

2008-01-28 Thread Igor Vaynberg
> without setting the visibility of 's and 's from inside my > >> IColumns? > >> Any help would be appreciated. > >> > >> -Brandon > > > > -- > View this message in context: > http://www.nabble.com/Dynamic-DataTable-columns

Re: Dynamic DataTable columns

2008-01-28 Thread UPBrandon
isibility of 's and 's from inside my >> IColumns? >> Any help would be appreciated. >> >> -Brandon > -- View this message in context: http://www.nabble.com/Dynamic-DataTable-columns-tp15142596p15143304.html Sent from the Wicket - User mailing list archive at Nab

Re: Dynamic DataTable columns

2008-01-28 Thread Igor Vaynberg
s very annoying in an OO framework. > > Does anyone know of any way I could make the columns in my table dynamic > without setting the visibility of 's and 's from inside my IColumns? > Any help would be appreciated. > > -Brandon > -- > View this message in contex

Dynamic DataTable columns

2008-01-28 Thread UPBrandon
sage in context: http://www.nabble.com/Dynamic-DataTable-columns-tp15142596p15142596.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,