开发者

customize td inner html in mvccontrib grid

开发者 https://www.devze.com 2023-04-13 07:51 出处:网络
I wonder if there way to customize td inner HTML of grid, for example I need to bound some field, and make clickable.

I wonder if there way to customize td inner HTML of grid, for example I need to bound some field, and make clickable. Didn't fou开发者_运维问答nd any other way, except adding onclick attribute. Columns(column => column.For(x => x.GotToPursue).Attributes(@onclick => "align-right") Any suggestions?


The only way to this I've found is to write your on extension method, working with already formed innerhtml to change it.

0

精彩评论

暂无评论...
验证码 换一张
取 消