ReoGrid Forum

Fast and powerful .NET Spreadsheet Component

You are not logged in.

Announcement

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.

https://github.com/unvell/ReoGrid/issues

#1 2014-08-20 08:15:04

[email protected]
Member
Registered: 2014-08-09
Posts: 24

DropDown cell

Hi,

Can I fill a dropdown cell with string array ?

example:

Dim inCurrency as string()
Dim dropdownCurrency As New DropdownCell(New Object() {inCurrency})

Peter

Offline

#2 2014-08-20 09:04:11

Jingwood
Moderator
From: jing at reogrid.net
Registered: 2014-06-03
Posts: 615

Re: DropDown cell

You could use object array.

Dim arr As Object() = {"aa", "bb"}
Dim dropdown As New DropdownCell(arr)

Offline

#3 2014-08-21 15:53:48

[email protected]
Member
Registered: 2014-08-09
Posts: 24

Re: DropDown cell

Hi,

THX.

However I need to put in international countries  (a lot).
Therefore I would like something like " Dim arrlst As New ArrayList() and Dim dropdown As New DropdownCell(arrlst)"

Regards, Peter

Offline

#4 2014-08-23 02:21:57

Jingwood
Moderator
From: jing at reogrid.net
Registered: 2014-06-03
Posts: 615

Re: DropDown cell

Before adding an IEnumerable interface support, you could do it by:

Dim arr As New ArrayList
arr.AddRange({"aa", "bb"})

Dim dropdown As New DropdownCell(arr.ToArray())

Offline

Board footer

Powered by FluxBB