You are not logged in.
This forum has been archived and no longer accepts new user registrations. Please report your questions, problems, and feedback to the issue page of ReoGrid on GitHub. Thank you for your cooperation.
Pages: 1
Topic closed
Hello Jing,
I have two dropdowns on a sheet and you can not click anywhere in the box to open the drop down it has to on the value or little after it, if do where the dropdown selector is at it does work. I have sheet being loaded by rfg file. I will email it to you so you can check it for me. I think this started happening after the last update you did.
Code for the dropdown
Imports unvell.ReoGrid.Rendering
Public Class DropdownListCell
Inherits unvell.ReoGrid.CellTypes.DropdownListCell
Sub New()
MyBase.New()
End Sub
Sub New(ParamArray candidates() As Object)
MyBase.New(candidates)
End Sub
Sub New(candidates As System.Collections.Generic.IEnumerable(Of Object))
MyBase.New(candidates)
End Sub
Protected Overrides Sub OnPaintDropdownButton(dc As CellDrawingContext, buttonRect As unvell.ReoGrid.Graphics.Rectangle)
dc.Graphics.DrawImage(My.Resources.dropdownbutton2, buttonRect)
End Sub
End Class
thank you,
Shane
Last edited by asparatu (2016-08-10 00:24:23)
Offline
Sorry I can't understand the problem you mentioned. You can't open dropdown panel when clicked inside dropdown cell?
I have tested that add two dropdowns according to your sample code onto worksheet, they work as expected.
And I loaded your RGF file you mailed me. No problems found. Maybe it's better you send me your code or sample project.
I tested with both 1.2.1 and 1.3.0 version.
Last edited by Jingwood (2016-08-11 03:54:17)
Offline
Hello Jing,
Didnt explain right. I can open it but ex. if the size of the cell 50px and you can only click on the first 30px and the last 20px is unclickable, and can not click the dropdown selector to open the dropdown menu.
I will see if can give you sample project based on that code..
Example:
Shane
Last edited by asparatu (2016-08-12 06:44:31)
Offline
Hi Shane, are these dropdown cells merged? If they merged from two cells, I think only the first cells are clickable.
Last edited by Jingwood (2016-08-25 11:17:37)
Offline
Pages: 1
Topic closed