在模态窗口选择器中显示多个列 [英] Displaying more than one column in the modal window picker
问题描述
是否可以在模态窗口选择器中显示多个列?我所拥有的是Room表,RoomNumber,RoomStatus,RoomType,RoomRate。在RoomNumber的模态窗口选择器中,我可以轻松选择任何房间,但我不知道房间
是否"空置"。我想在模式窗口选择器中选择房间之前,能够向用户显示房间类型和房间类型(单人,双人)。
Is it possible to display more than one column in the modal window picker? What I have is a Rooms table with RoomNumber, RoomStatus, RoomType, RoomRate. In the modal window picker for RoomNumber, I can easily select any room but I have no idea if the room is "vacant" or "occupied". I want to be able to display the 'status' of the and type of room(Single,Double) to the user prior to selection of the room in the modal Window picker.
推荐答案
就像ComboBox一样,Modal Window Picker的每个实体的默认可视化都是Summary控件。您可以将"摘要"控件更改为另一个详细信息控件或组控件(例如其中一个堆栈控件),并将其他
字段添加到选取器。
Just like the ComboBox, the Modal Window Picker's default visualization for each of the entities is the Summary control. You can change the Summary control to another details control or group control (such as one of the stack controls) and add additional fields to the picker.
这篇关于在模态窗口选择器中显示多个列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!