DevExpress Grid and SF


Author
Message
Terry Bottorff
Terry Bottorff
StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)
Group: Forum Members
Posts: 448, Visits: 12K
I am using the latest version of DevExpress and SF in VS 2008. I created a BO and just by using a break point I found that it does have data in it. I also created a Custom Business Binding Source and put in the code so it does appear on my toolBox. I dropped the BO and the BBS on my form. I also have placed a DevExpress Grid on my form.

Using the little black arrow on the top right of the grid(forgot what it is called) I did the following steps:

1. Choose Data Source.

2. Add Project Data Source.

3. Choose Object as data type.

4. Found my BOLib, found my BBS and selected it.

5. It immediately created the databindingsource and put the columns that I want in the grid.

6. I looked at the columns and they have the correct field names in them.

7. Because of #5 and #6 I think the grid is set up correctly?????

8. Run project and the grid shows with the column titles but no data.



What am I missing? TIA.

Replies
Peter Jones
Peter Jones
Advanced StrataFrame User (718 reputation)Advanced StrataFrame User (718 reputation)Advanced StrataFrame User (718 reputation)Advanced StrataFrame User (718 reputation)Advanced StrataFrame User (718 reputation)Advanced StrataFrame User (718 reputation)Advanced StrataFrame User (718 reputation)Advanced StrataFrame User (718 reputation)Advanced StrataFrame User (718 reputation)
Group: Forum Members
Posts: 386, Visits: 2.1K
Hi Thomas,



Yes but the grid is displaying data from the business binding source (bbs) for the bo not the bo itself. Does the bbs' current view contain data?



Cheers, Peter

'
Terry Bottorff
Terry Bottorff
StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)StrataFrame VIP (1.1K reputation)
Group: Forum Members
Posts: 448, Visits: 12K
On my break point I tried this in the Watch Window:

me.myBBS.CurrentView but I could find that.

So I tried me.myBBS.SourceBO.CurrentView and it had Zero(0) Records.



If that is where I should have looked then no wonder the grid has no records. But is that where I should have looked? If so what could I have done wrong in setting up the BBS? Setting up a BBS seems to be so straight forward.



If these are goofy questions I am sorry but I'm a newbie to Strataframe which of course makes me a real newbie to DevExpress.....







GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Terry Bottorff - 16 Years Ago
Trent L. Taylor - 16 Years Ago
Terry Bottorff - 16 Years Ago
Terry Bottorff - 16 Years Ago
Terry Bottorff - 16 Years Ago
Peter Jones - 16 Years Ago
Terry Bottorff - 16 Years Ago
Peter Jones - 16 Years Ago
Terry Bottorff - 16 Years Ago
Peter Jones - 16 Years Ago
Trent L. Taylor - 16 Years Ago
Terry Bottorff - 16 Years Ago
                     No problem, just wanted to make sure that it worked. Thanks. :)
Trent L. Taylor - 16 Years Ago
                     I replaced all the references from 8.2 to 9.1 and rebuilt the...
Terry Bottorff - 16 Years Ago
                         Well, you still have 8.2 references in either the designer file or the...
Trent L. Taylor - 16 Years Ago
                             OK thanks.........
Terry Bottorff - 16 Years Ago
Terry Bottorff - 16 Years Ago
Trent L. Taylor - 16 Years Ago
Peter Jones - 16 Years Ago
Terry Bottorff - 16 Years Ago
Peter Jones - 16 Years Ago
Terry Bottorff - 16 Years Ago
Peter Jones - 16 Years Ago
Trent L. Taylor - 16 Years Ago
                 Thank you so much.
Terry Bottorff - 16 Years Ago
Terry Bottorff - 16 Years Ago
Terry Bottorff - 16 Years Ago
Peter Jones - 16 Years Ago
Peter Jones - 16 Years Ago
Terry Bottorff - 16 Years Ago
Trent L. Taylor - 16 Years Ago
                     I'll try it and let you know. Thank you very much.
Terry Bottorff - 16 Years Ago
                         No problem. :)
Trent L. Taylor - 16 Years Ago
Terry Bottorff - 16 Years Ago
Trent L. Taylor - 16 Years Ago
Terry Bottorff - 16 Years Ago
                     When I started playing with the DevExpress Grid I put in the...
Terry Bottorff - 16 Years Ago
                         Terry,

This post confuses me as the sample I posted SHOWs...
Trent L. Taylor - 16 Years Ago
Terry Bottorff - 16 Years Ago
Terry Bottorff - 16 Years Ago
Trent L. Taylor - 16 Years Ago
                 Yes I did get it. Thanks.
Terry Bottorff - 16 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search