I'm submitting a ...
[ ] bug report => Search github for a similar issue or PR before submitting
[ x ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35
Would be a nice-to-have feature to set the tooltip for each row directly in the p-column element without having to use a ng-template instead.
In addition, it would be great being able to have an attribute for text tooltip (for example using the same value as in field) or an attribute that receives a helper function and it passes the rowData object in order to resolve it.
I'd find this extremely helpful when setting text-overflow: ellipsis on cells.
Here is an example of each case.
<p-dataTable [(value)]="items">
<p-column field="description" title="description" header="Description"></p-column>
</p-datatable>
* OR *
<p-dataTable [(value)]="items">
<p-column field="description" [titleHelper]="resolveDescriptionTitle" header="Description" ></p-column>
</p-datatable>
Thanks in advance!
It would be helpful to have an indicator on the column to show that there is a tooltip, as well.
+1
When we can expect this feature to be released..? @cagataycivici can you please provide expected release milestone date or month..?
Even better if the column would add a tooltip to itself if the content doesn't fit.
+1
It would be helpful to has title attribute on the p-column.
+1
p-dataTable is deprecated and will be removed in favor of the new p-table (aka TurboTable) of 5.1.0 so closing the issue. Please try the new p-table once 5.1.0 is released.
Surprised. Were can i get more informations about p-table?
is it resolved even in p-table?
Most helpful comment
Even better if the column would add a tooltip to itself if the content doesn't fit.