Problem with Shared ToolTip

Community Driven Extensions Project
Post Reply
User avatar
sudheer
PrimeFaces Core Developer
Posts: 4345
Joined: 16 Oct 2011, 19:19
Location: Singapore

08 Jun 2012, 18:10

Hi,

I would like to use shared tooltip on filter input text and i tried as it is like showcase.But i can see tooltip for corresponding column values instead for header.Any problem with JQuery forSelector usage?

Code: Select all

 <p: dataTable id="tbl"..........>
<pe:tooltip value="Type any value to filter datatable" forSelector="#tbl th .ui-column-filter"  
        shared="true" targetPosition="top center" position="bottom center"/>  

                 






Environment:

Primefaces 3.4 Snapshot
PE 0.4.0
JSF2.1.9

Thanks
Author,Speaker
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/

___________________
Sudheer Jonna

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

09 Jun 2012, 13:16

Hi,

I don't know, it works in the showcase and all browsers. Maybe PrimeFaces 3.4-SNAPSHOT changed CSS selectors for datatable filter fields. Check it in Firebug. I would also suppose to wait for the 0.5.0 release (today) and try with 0.5.0. This release is build on top of PF 3.3. 0.4.0 release is build on top of PF 3.2.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

User avatar
sudheer
PrimeFaces Core Developer
Posts: 4345
Joined: 16 Oct 2011, 19:19
Location: Singapore

15 Jun 2012, 19:23

Hi Oleg,

Now it is working fine.The reason why it's not working before was ignoring the full name of table id (i.e it should be #form:tbl)
Author,Speaker
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/

___________________
Sudheer Jonna

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest