开发者

Use a custom usercontrol in a Janus GridEx

开发者 https://www.devze.com 2023-01-06 13:16 出处:网络
I\'m search for a method to add a custom usercontrol in a Janus GridEx with C#. In the designer I have different columntypes (link, text, image, ...) but I need something with more functionality (mult

I'm search for a method to add a custom usercontrol in a Janus GridEx with C#. In the designer I have different columntypes (link, text, image, ...) but I need something with more functionality (multiple checkboxe开发者_如何学Pythons which must be set/saved in a seperate table).

I think this would be easiest if I could just add a custom component I can build by myself.

Any ideas if this is possible and how to do this?

Thanks, Frank


It is possible. You can create a custom control that inherets from UserControl. Then, set the column type to Text and the EditType to Custom.

You then need to hook up onto the grids InitCustomEdit and EndCustomEdit events where you will perform the custom control logic.

0

精彩评论

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

关注公众号