EnhancedList Problem


Author
Message
Geoff Hirst
Geoff Hirst
Advanced StrataFrame User (757 reputation)Advanced StrataFrame User (757 reputation)Advanced StrataFrame User (757 reputation)Advanced StrataFrame User (757 reputation)Advanced StrataFrame User (757 reputation)Advanced StrataFrame User (757 reputation)Advanced StrataFrame User (757 reputation)Advanced StrataFrame User (757 reputation)Advanced StrataFrame User (757 reputation)
Group: Forum Members
Posts: 123, Visits: 3.5K
Guys,

Been banging my head on this one. Just can't see why it doesn't work. I have followed the previous messages on doing this but the errors just change depending on what I do next.

I have the latest beta 1.6.7 of SF and V8.3.4 of DeveloperExpress Components.

I have discovered that the Enhancelist doesn't work properly if you choose methods such as CopyDataFrom. Is this by design?

Having looked at the source, the CreateDataSource method, only allows for a methodname, and a single parameter to follow. CopyDatafrom needs 2 parameters, thereby it all goes to cock if you use this and it throws the business object couldn't be populated exception.

Now, I have modified the source for the EL, but I must admit I would prefer a solution from you guys if possible. The problem I am getting is in the actual list, I cannot see the data. There are no apparent columns defined (even if I do them myself) but I can click on the list area and it looks like something is being selected, I just can't see it.

I have tried many combinations of columns named 'Col' (with a number), tried using the actual column names in my BO, nothing seems to want to play.

Can I use the EnhancedList for the same purpose I would use the default Devx Gridcontrol, or is the EL constrained to be a simple list?

As always, more than happy to be wrong, or to have missed something really simple

thanks for any help guys

Geoff

Reply
Geoff Hirst
Geoff Hirst
Advanced StrataFrame User (757 reputation)Advanced StrataFrame User (757 reputation)Advanced StrataFrame User (757 reputation)Advanced StrataFrame User (757 reputation)Advanced StrataFrame User (757 reputation)Advanced StrataFrame User (757 reputation)Advanced StrataFrame User (757 reputation)Advanced StrataFrame User (757 reputation)Advanced StrataFrame User (757 reputation)
Group: Forum Members
Posts: 123, Visits: 3.5K
Hi Trent,

I have now resolved the first issue. The error was all mine, as expected, and it was the methodtoexecute property. I had used semi-colons as the delimeter all the way across, rather than just after the method name. I have now resolved this so thats great thanks for the help there.

My final issue, is actually seeing the data in the enhancedlist. Everything is being populated I can click rows in the grid and if I debug, the data is present.

Want I cannot see is the data in the grid. I know this is a devexpress thing, I just can't remember what.

The area where the blue bar is where the data should be. I just can't see it. Any ideas?

thanks for helping me sort the previous issues.

best

Geoff

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search