You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Morgan Hautman <mo...@gmail.com> on 2016/04/27 08:25:08 UTC

Filter on every table column

Hi,

I would like to have a textfield who acts as a filter for every table/grid
column.
Is this possible in Tapestry?

Regards,
Morgan

Re: Filter on every table column

Posted by Morgan Hautman <mo...@gmail.com>.
Hi,

The problem was apparently a conflict between two jquery instances.
Starting from Tapestry 5.4 , Tapestry includes jQuery by default. Remove my
own defined jQuery instance fixed the problem.

Regards,
Morgan

2016-04-28 2:32 GMT+02:00 Jay Ginete <ki...@gmail.com>:

> Hi Morgan,
>
> I'm guessing you didn't import the CSS and JS for the datatable.
>
> You can either import the datatable CSS and JS in your layout component OR
> import it into the page class.
>
> https://gist.github.com/killertilapia/b2509b6721d14e2abc5dd8cc1eda571d
>
>
>
> On 27/04/2016 8:30 PM, Morgan Hautman wrote:
>
>> Hi Jay,
>>
>> I'm able to show the table but there is no css or javascript.
>>
>> Do you know where I can find all the ressources?
>>
>> Or maybe I'm doing it wrong..
>>
>> https://gist.github.com/mhautman/d144d9bf107a27efe83fe97ca188a460
>>
>> Regards,
>> Morgan
>>
>> 2016-04-27 8:48 GMT+02:00 Morgan Hautman <mo...@gmail.com>:
>>
>> Hi Jay,
>>>
>>> No :( Thank you very much, this i what I need!
>>>
>>> Regards,
>>> Morgan
>>>
>>> 2016-04-27 8:29 GMT+02:00 Jay Ginete <ki...@gmail.com>:
>>>
>>> Have you discovered Tapestry5-jquery? It has a data table component that
>>>> does that you need.
>>>>
>>>> http://tapestry5-jquery.com/components/docsdatatables
>>>>
>>>>
>>>>
>>>> On 27/04/2016 2:25 PM, Morgan Hautman wrote:
>>>>
>>>> Hi,
>>>>>
>>>>> I would like to have a textfield who acts as a filter for every
>>>>> table/grid
>>>>> column.
>>>>> Is this possible in Tapestry?
>>>>>
>>>>> Regards,
>>>>> Morgan
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>>
>>>>
>>>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: Filter on every table column

Posted by Jay Ginete <ki...@gmail.com>.
Hi Morgan,

I'm guessing you didn't import the CSS and JS for the datatable.

You can either import the datatable CSS and JS in your layout component 
OR import it into the page class.

https://gist.github.com/killertilapia/b2509b6721d14e2abc5dd8cc1eda571d


On 27/04/2016 8:30 PM, Morgan Hautman wrote:
> Hi Jay,
>
> I'm able to show the table but there is no css or javascript.
>
> Do you know where I can find all the ressources?
>
> Or maybe I'm doing it wrong..
>
> https://gist.github.com/mhautman/d144d9bf107a27efe83fe97ca188a460
>
> Regards,
> Morgan
>
> 2016-04-27 8:48 GMT+02:00 Morgan Hautman <mo...@gmail.com>:
>
>> Hi Jay,
>>
>> No :( Thank you very much, this i what I need!
>>
>> Regards,
>> Morgan
>>
>> 2016-04-27 8:29 GMT+02:00 Jay Ginete <ki...@gmail.com>:
>>
>>> Have you discovered Tapestry5-jquery? It has a data table component that
>>> does that you need.
>>>
>>> http://tapestry5-jquery.com/components/docsdatatables
>>>
>>>
>>>
>>> On 27/04/2016 2:25 PM, Morgan Hautman wrote:
>>>
>>>> Hi,
>>>>
>>>> I would like to have a textfield who acts as a filter for every
>>>> table/grid
>>>> column.
>>>> Is this possible in Tapestry?
>>>>
>>>> Regards,
>>>> Morgan
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>
>>>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Filter on every table column

Posted by Morgan Hautman <mo...@gmail.com>.
Hi Jay,

I'm able to show the table but there is no css or javascript.

Do you know where I can find all the ressources?

Or maybe I'm doing it wrong..

https://gist.github.com/mhautman/d144d9bf107a27efe83fe97ca188a460

Regards,
Morgan

2016-04-27 8:48 GMT+02:00 Morgan Hautman <mo...@gmail.com>:

> Hi Jay,
>
> No :( Thank you very much, this i what I need!
>
> Regards,
> Morgan
>
> 2016-04-27 8:29 GMT+02:00 Jay Ginete <ki...@gmail.com>:
>
>> Have you discovered Tapestry5-jquery? It has a data table component that
>> does that you need.
>>
>> http://tapestry5-jquery.com/components/docsdatatables
>>
>>
>>
>> On 27/04/2016 2:25 PM, Morgan Hautman wrote:
>>
>>> Hi,
>>>
>>> I would like to have a textfield who acts as a filter for every
>>> table/grid
>>> column.
>>> Is this possible in Tapestry?
>>>
>>> Regards,
>>> Morgan
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>

Re: Filter on every table column

Posted by Morgan Hautman <mo...@gmail.com>.
Hi Jay,

No :( Thank you very much, this i what I need!

Regards,
Morgan

2016-04-27 8:29 GMT+02:00 Jay Ginete <ki...@gmail.com>:

> Have you discovered Tapestry5-jquery? It has a data table component that
> does that you need.
>
> http://tapestry5-jquery.com/components/docsdatatables
>
>
>
> On 27/04/2016 2:25 PM, Morgan Hautman wrote:
>
>> Hi,
>>
>> I would like to have a textfield who acts as a filter for every table/grid
>> column.
>> Is this possible in Tapestry?
>>
>> Regards,
>> Morgan
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: Filter on every table column

Posted by Jay Ginete <ki...@gmail.com>.
Have you discovered Tapestry5-jquery? It has a data table component that 
does that you need.

http://tapestry5-jquery.com/components/docsdatatables


On 27/04/2016 2:25 PM, Morgan Hautman wrote:
> Hi,
>
> I would like to have a textfield who acts as a filter for every table/grid
> column.
> Is this possible in Tapestry?
>
> Regards,
> Morgan
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org