this.MakeGridHeader(x => x.ProductionSchedule, width:180)
.SetSort()
.SetFormat((a, b)=>{
return "测试";
})
.SetFixed(GridColumnFixedEnum.Left),
这个是正常使用,如果使用超链接进行跳转就不行了。
this.MakeGridHeader(x => x.ProductionSchedule, width:180)
.SetSort()
.SetFormat((a, b)=>{
string rv = UIService.MakeDialogButton(ButtonTypesEnum.Button, $"/ProduceTask/DetailCodes/{a.GetID()}", a.ProductionSchedule, null, null, title: "生产数据", resizable: false, max: true, buttonClass: "layui-btn layui-btn-normal layui-btn-xs");
return rv;
})
.SetFixed(GridColumnFixedEnum.Left),
不能弹出页面$"/ProduceTask/DetailCodes/{a.GetID()}"