Welcome Guest Search | Active Topics | Sign In | Register

Set StyleSet to Web Grid at runtime Options
Mah Elg
Posted: Saturday, July 5, 2014 4:56:10 AM
Rank: Newbie
Groups: Member

Joined: 6/23/2012
Posts: 6
When I set styleset like this not working

Dim NewIt As EO.Web.GridItem = gridNewCAN.CreateItem
NewIt.Cells("StyleSet").Value = "NameDiff"

Plz Help Me

eo_support
Posted: Monday, July 7, 2014 1:50:58 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

StyleSet has nothing to do with Cells collection. You have to use this properly:

http://www.essentialobjects.com/doc/1/eo.web.griditem.stylesetid.aspx

For example:

NewIt.StyleSetID = "NameDiff"

Hope this helps.

Thanks!
Mah Elg
Posted: Tuesday, July 8, 2014 7:35:55 AM
Rank: Newbie
Groups: Member

Joined: 6/23/2012
Posts: 6
It works well, Thanks
eo_support
Posted: Tuesday, July 8, 2014 11:45:29 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
You are very welcome. Please feel free to let us know if there is anything else.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.