Cris asked 2017-01-31 19:51:13 UTC
Hi,
Release Notes for 1.3.23 states that "Wisej.Web.UserComboBox allows the application to use any control as the drop down panel". Thinking the
DataGridView is a good candidate to be a DropDownControl, I did try how this new control works by dropping 1 UserComboBox and 1 DataGridView
in a window/form and these are what I've observed.
-
Width of the DGV follows the width of the UserComboBox no matter what the size of the DGV is at design time. There is a property named DropDownHeight but no DropDownWidth. It would be nice if there would be a DropDownWidth. Setting the ResizableEdges=Right of the dropdowncontrol doesn't work either at runtime
-
ColumnVisibility menu shows at the back of DGV itself at runtime which partially hides the left edge of the menu (image # 2).
-
DGV used as DropDownControl doesn't show rows except for the ColumnHeader after populating the DGV.
-
DropDownControl property can only be set at design which precludes me from creating a new control or an instance of existing UserControl with DGV in it at runtime.
ListBox, CheckedListBox, ListView as a DropDownControl seem to display correctly but nothing happens if I mouse-click an item to select it. Looking at the Properties window to find what Event I have to subscribed to, they are basically the same as the standard ComboBox. Can you give a tip how?
Am I using the control the right way or missing something not so obvious?
Thanks
Cris asked 2017-01-31 19:51:13 UTC
Hi,
Release Notes for 1.3.23 states that "Wisej.Web.UserComboBox allows the application to use any control as the drop down panel". Thinking the
DataGridView is a good candidate to be a DropDownControl, I did try how this new control works by dropping 1 UserComboBox and 1 DataGridView
in a window/form and these are what I've observed.
Width of the DGV follows the width of the UserComboBox no matter what the size of the DGV is at design time. There is a property named DropDownHeight but no DropDownWidth. It would be nice if there would be a DropDownWidth. Setting the ResizableEdges=Right of the dropdowncontrol doesn't work either at runtime
ColumnVisibility menu shows at the back of DGV itself at runtime which partially hides the left edge of the menu (image # 2).
DGV used as DropDownControl doesn't show rows except for the ColumnHeader after populating the DGV.
DropDownControl property can only be set at design which precludes me from creating a new control or an instance of existing UserControl with DGV in it at runtime.
ListBox, CheckedListBox, ListView as a DropDownControl seem to display correctly but nothing happens if I mouse-click an item to select it. Looking at the Properties window to find what Event I have to subscribed to, they are basically the same as the standard ComboBox. Can you give a tip how?
Am I using the control the right way or missing something not so obvious?
Thanks