Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MakeAction中使用SetOnClickScript如何传递当前行实体的某个属性 #599

Open
5653325 opened this issue Mar 17, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@5653325
Copy link

5653325 commented Mar 17, 2023

官方文档中的
//设置IsRedirect和ShowDialog为true,弹出新浏览器窗口,并在每行显示按钮
this.MakeAction("Home","Show","预览","查看详情", GridActionParameterTypesEnum.SingleId,"test").SetShowDialog(true).SetIsRedirect(true).SetShowInRow(true).SetHideOnToolBar(true).SetQueryString("a=2"),
点击的时候是在新窗口打开,但是路径中的URL是框架的主页面,不是预想的URL地址内容。

或者说,MakeAction定义了一个按钮,如何点击这个按钮的时候,可以获取到这一行的内容?
类似下面这个提问。
}3W_5_1_XMQI(UCE7LF 2E6

@5653325 5653325 added the bug Something isn't working label Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant