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 2015-01-06 10:29:41

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

Dropdownlist

Hi,

Can I add strings to the dropdownlist by the dropdownlist add command ?

Peter

Offline

#2 2015-01-07 00:13:18

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

Re: Dropdownlist

Hi, by using the 0.8.8 it's possible to add/remove drop-down items manually.

VB.NET:

Dim list As New DropdownListCell
list.Items.Add("aaa")    ' add item

grid.CurrentWorksheet("A1") = list

As Shane pointed out, the CellTypes namespace is required.

Imports unvell.ReoGrid.CellTypes

Last edited by Jingwood (2015-01-07 00:28:06)

Offline

#3 2015-01-07 00:23:11

asparatu
Member
Registered: 2014-08-20
Posts: 196

Re: Dropdownlist

Jing,
   I was just going to answer the question.. but you did before me.. I was doing quick test to see how to do it because i needed to know how to do it.. hehe
   But you night want to mention, you need to import unvell.ReoGrid.CellTypes namespace, too.
Shane

Last edited by asparatu (2015-01-07 00:25:12)

Offline

#4 2015-01-07 00:26:24

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

Re: Dropdownlist

Hi Shane, thanks, any your solutions are always welcome!

I am now finished all test-cases in 0.8.8.3, and going to release it today (if there is no new bugs reported)

Last edited by Jingwood (2015-01-07 00:49:39)

Offline

#5 2015-01-07 01:01:49

asparatu
Member
Registered: 2014-08-20
Posts: 196

Re: Dropdownlist

Hello Jing,
   I have not found any new bugs.. So i think would be good idea to release it.
Shane

Offline

Board footer

Powered by FluxBB