An idea for a Ninext tweak.
Would this be possible?
To have a tooltip concept when hovering over a cell that displays the full content of that cell. This could be handy where cell width is reduced, and the text is cut off.
8 replies
-
You can try this JavaScript function which modifies the tooltip of the chmap whose name is passed as a parameter.
function setTooltip(fieldName : text,tooltip : text) do var fn := fieldName; var tt := tooltip; #{:text // find the component nammed fn var r = ui.getCurrentEditor().currentTab.components.find( c => c.field.caption == fn) // set tooltip on tp if (r && r.el[0]) r.el[0].title = tt; }# end;
You can place the function in the "Display only if..." trigger so that the tooltip is updated each time the field is modified.
Ideally, you should put the function in the global functions so that you can call it from any field in the database.
Please note: it is not possible to call the function from an "After update" trigger as this is executed on the server and not locally. -
Is it possible to have this function in (all), sheet, table mode?
In other words, if a column is too narrow the DESCRIPTION would display on hover.
Content aside
- Status Answered
- 5 mths agoLast active
- 8Replies
- 104Views
-
2
Following