行固有のコンテンツをHtmlAttributesに使用することは可能ですか?
このセルとそのコンテンツを取得しました(o.ArrivalTime)
。マウスをその上に移動すると(o.Note)
、ツールチップ内の他の要素のコンテンツが表示されるようになります。
私はこれを試しましたが、それは受け入れられませんo.Note
columns.Bound(o => o.ArrivalTime)
.Title("Arrival Time")
.Template(o =>
{%><%=(o.ArrivalTime < Convert.ToDateTime("2000-01-01")) ? "?" : o.ArrivalTime.ToString()%><%})
.Width(140)
.HtmlAttributes(new {title = o.Note })
;