以垂直方式显示数据绑定复选框 [英] display databound checkboxes in vertical manner

查看:64
本文介绍了以垂直方式显示数据绑定复选框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个表单,其复选框绑定到表的名称字段。这样做的目的是在复选框中显示该字段中的所有名称,以便用户可以检查所需的名称并存储在其他表中。名称显示在我想要的复选框中,但所有都是网状方式..我想要的是将复选框显示为垂直列表或类似方式..任何帮助改进设计????

i have a form whose checkbox is bound to name field of a table. The objective of this is to display all the name from that field in checkbox so that user can check the desired name and store in other table.. Name are displayed in checkboxes as I wanted but all in meshed up manner.. What i want is to display the checkboxes as a vertical list or similar manner.. Any help to improve the design????

推荐答案

您好



您可以在网格中将两列作为列名称和可见性。

在行中显示表格列并与复选框控件相邻。



为字段创建一个单独的表。
Hi

You can have two columns in the grid as column name & visibility .
display table columns in rows and adjacent the checkbox control .

Create a separate table for the fields .


您需要更改两个属性...



RepeatColumns =您想要垂直重复的列数

RepeatDirection = Vertical



如果你想在每一行中设置单列 RepeatColumns = 0;



希望这个帮助

------------------

Pratik Bhuva
There is two properties you need to change...

RepeatColumns = "No of columns you want to repeat vertically"
RepeatDirection = Vertical

if you want single column in each row set RepeatColumns = 0;

Hope This Help
------------------
Pratik Bhuva


这篇关于以垂直方式显示数据绑定复选框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆