Re: Having an array that manage the header raw and cells or adding colunm action to a cell array ?

2016-08-30 Thread Martin Grigorov
On Mon, Aug 29, 2016 at 11:27 PM, andre seame  wrote:

> Hello,
>
>
> Name + LinkToSortColumn + InputFields for Filtering 
>
>   Date+ LinkToSortColumn + InputFields for Filtering 
>
> 
>
> Namex2016-08-29
>
> Sorry, you are not allowed to see this
> information
>
>
> I think that header toolbar, is not the solution, because it is not design
> to have cells.
>

Sure the header toolbar has cells!
It produces markup like: ...


>
> And I need to have a sort action or a filtering action when I do action on
> header of the associated column.
>

Sorting:
http://examples6x.wicket.apache.org/repeater/wicket/bookmarkable/org.apache.wicket.examples.repeater.DataTablePage
Filtering:
http://examples6x.wicket.apache.org/repeater/wicket/bookmarkable/org.apache.wicket.examples.repeater.DataTableFilterToolbarPage



>
> I don't know if it possible to introduce the notion of "header line" and
> line with DataView or GridView.
>

I think it should be possible!


>
>
> Thanks,
>
> PHL.
>
>
>
>
>
>
>
>
>
> 
> De : Martin Grigorov 
> Envoyé : lundi 29 août 2016 19:56
> À : users@wicket.apache.org
> Objet : Re: Having an array that manage the header raw and cells or adding
> colunm action to a cell array ?
>
> Hi,
>
> Which component do you use as a repeater ?
> Wicket provides DataTable component which can use Toolbars as
> headers/footers.
> Also DataView and GridView which provide a lot of flexibility in rendering
> tabular data.
>
> By the way: when you say "raw" you really mean "row" ;-)
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
> [https://pbs.twimg.com/profile_images/498383088007643136/rWBpAHsz_
> 400x400.jpeg]
>
> Martin Grigorov (@mtgrigorov) | Twitter
> twitter.com
> The latest Tweets from Martin Grigorov (@mtgrigorov). Funemployed. R
> guy. Freelancer in the Scala/Java/Web/Wicket universe. Bulgaria
>
>
>
> On Mon, Aug 29, 2016 at 3:31 PM, andre seame  wrote:
>
> > Hello,
> >
> >
> > I have already written a HTML page 1 with a repeater that works on line
> > level. In the header of the array, I have a complex header, with the name
> > of the column, filtering and sorting capabilities. Each line of the array
> > has the same number of cells
> >
> >
> > I have already written a HTML page 2 with a repeater that works on cell
> > level. So according the type of data, i modify the number of cells (via
> > colspan) to have raw with 2 or 4 cells. On this page, there is no header
> > for the array repeater.
> >
> >
> > Question is it easy to have an array the manage header and cell :
> >
> > I would like to have in the header the name of the column, filtering and
> > sorting capabilities, but the number of cell varying according the data.
> > For instance 2 cells to give the name and the address of people. But only
> > one cell to say that you are not granted to consult this people.
> >
> >
> > Perhaps I can do that with  a "cell" array (like my page 2), but how to
> > detect in the populate cell that I am on data raw or on header raw ?In
> > order words, how to add colunm action to a cell array ? If I click on the
> > header of the column, I would like to ordering the full array.
> >
> >
> > Thanks,
> >
> > PHL
> >
> >
>


RE: Having an array that manage the header raw and cells or adding colunm action to a cell array ?

2016-08-29 Thread andre seame
Hello,


Name + LinkToSortColumn + InputFields for Filtering 

  Date+ LinkToSortColumn + InputFields for Filtering 



Namex2016-08-29

Sorry, you are not allowed to see this 
information


I think that header toolbar, is not the solution, because it is not design to 
have cells.

And I need to have a sort action or a filtering action when I do action on 
header of the associated column.


I don't know if it possible to introduce the notion of "header line" and line 
with DataView or GridView.


Thanks,

PHL.










De : Martin Grigorov 
Envoyé : lundi 29 août 2016 19:56
À : users@wicket.apache.org
Objet : Re: Having an array that manage the header raw and cells or adding 
colunm action to a cell array ?

Hi,

Which component do you use as a repeater ?
Wicket provides DataTable component which can use Toolbars as
headers/footers.
Also DataView and GridView which provide a lot of flexibility in rendering
tabular data.

By the way: when you say "raw" you really mean "row" ;-)

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
[https://pbs.twimg.com/profile_images/498383088007643136/rWBpAHsz_400x400.jpeg]

Martin Grigorov (@mtgrigorov) | Twitter
twitter.com
The latest Tweets from Martin Grigorov (@mtgrigorov). Funemployed. R guy. 
Freelancer in the Scala/Java/Web/Wicket universe. Bulgaria



On Mon, Aug 29, 2016 at 3:31 PM, andre seame  wrote:

> Hello,
>
>
> I have already written a HTML page 1 with a repeater that works on line
> level. In the header of the array, I have a complex header, with the name
> of the column, filtering and sorting capabilities. Each line of the array
> has the same number of cells
>
>
> I have already written a HTML page 2 with a repeater that works on cell
> level. So according the type of data, i modify the number of cells (via
> colspan) to have raw with 2 or 4 cells. On this page, there is no header
> for the array repeater.
>
>
> Question is it easy to have an array the manage header and cell :
>
> I would like to have in the header the name of the column, filtering and
> sorting capabilities, but the number of cell varying according the data.
> For instance 2 cells to give the name and the address of people. But only
> one cell to say that you are not granted to consult this people.
>
>
> Perhaps I can do that with  a "cell" array (like my page 2), but how to
> detect in the populate cell that I am on data raw or on header raw ?In
> order words, how to add colunm action to a cell array ? If I click on the
> header of the column, I would like to ordering the full array.
>
>
> Thanks,
>
> PHL
>
>


Re: Having an array that manage the header raw and cells or adding colunm action to a cell array ?

2016-08-29 Thread Martin Grigorov
Hi,

Which component do you use as a repeater ?
Wicket provides DataTable component which can use Toolbars as
headers/footers.
Also DataView and GridView which provide a lot of flexibility in rendering
tabular data.

By the way: when you say "raw" you really mean "row" ;-)

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Mon, Aug 29, 2016 at 3:31 PM, andre seame  wrote:

> Hello,
>
>
> I have already written a HTML page 1 with a repeater that works on line
> level. In the header of the array, I have a complex header, with the name
> of the column, filtering and sorting capabilities. Each line of the array
> has the same number of cells
>
>
> I have already written a HTML page 2 with a repeater that works on cell
> level. So according the type of data, i modify the number of cells (via
> colspan) to have raw with 2 or 4 cells. On this page, there is no header
> for the array repeater.
>
>
> Question is it easy to have an array the manage header and cell :
>
> I would like to have in the header the name of the column, filtering and
> sorting capabilities, but the number of cell varying according the data.
> For instance 2 cells to give the name and the address of people. But only
> one cell to say that you are not granted to consult this people.
>
>
> Perhaps I can do that with  a "cell" array (like my page 2), but how to
> detect in the populate cell that I am on data raw or on header raw ?In
> order words, how to add colunm action to a cell array ? If I click on the
> header of the column, I would like to ordering the full array.
>
>
> Thanks,
>
> PHL
>
>


Having an array that manage the header raw and cells or adding colunm action to a cell array ?

2016-08-29 Thread andre seame
Hello,


I have already written a HTML page 1 with a repeater that works on line level. 
In the header of the array, I have a complex header, with the name of the 
column, filtering and sorting capabilities. Each line of the array has the same 
number of cells


I have already written a HTML page 2 with a repeater that works on cell level. 
So according the type of data, i modify the number of cells (via colspan) to 
have raw with 2 or 4 cells. On this page, there is no header for the array 
repeater.


Question is it easy to have an array the manage header and cell :

I would like to have in the header the name of the column, filtering and 
sorting capabilities, but the number of cell varying according the data. For 
instance 2 cells to give the name and the address of people. But only one cell 
to say that you are not granted to consult this people.


Perhaps I can do that with  a "cell" array (like my page 2), but how to detect 
in the populate cell that I am on data raw or on header raw ?In order words, 
how to add colunm action to a cell array ? If I click on the header of the 
column, I would like to ordering the full array.


Thanks,

PHL