I have been scouring through the forums and documentation but the way a grid gets tooltip is very confusing to me. we need to have a separate tooltip control and traverse the grid and apply tooltip in it.
Thanks for the reply. I did see those threads you linked plus many more on the Grid and ToolTip forums. I'm not still not sure how I accomplish my requirement with a kendoTooltip. I did it but that's the default boring tooltip. Mine needs to be bound to a specific column and to a model property and shown only if there is content.
answered on 16 Jul 2020, 11:09 AM
In case you need to return the value of the certain field of the underlying model in the Tooltip you could use the approach described in the article I have sent previously:
var dataItem = $("#grid").data("kendoGrid").dataItem(e.target.closest("tr"));
var content = dataItem.Text;
All the fields of the model could be accessed through the dataItem object.
The filter option of the Tooltip could be used to specify on which column you need the Tooltip to be displayed.
Regarding displaying the Tooltip only when there is a content I would suggest you refer to the following thread from StackOverflow which provides two possible solutions: