Redundent data in grid?


Author
Message
Michael Reese
Michael Reese
Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)
Group: StrataFrame Users
Posts: 235, Visits: 1.6K
I know that the infragistics grid is not fully supported but, I am having a slight issue with the Infragistics grid. I am able to bind and display data. However, when I populate the grid, I see the same data display on every row. When I select a row the data for that row will display correctly? 

Michael

Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Michael,

Sorry for the delayed response.  We have been on the road and this is the first chance I have had to get on the forum.  All you need to do in this case is use the BusinessBindingSource control to wrap the business object.  Bind your grid to the BusinessBindingSource control and it will emit each row as a strong typed BO and will resolve the issue you are having.

Michael Reese
Michael Reese
Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)
Group: StrataFrame Users
Posts: 235, Visits: 1.6K
No problem. I did set the bindingsource to the bo and grid to the binding source. As well is the islistsource. I am using a filltableby top one hundred in the form load. See attached. The first shows the rundent data then the second shows what happend when I select a row. Should I be using something other than fillby top 100?

 

Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
I will have to look at this in the htel room tonight.  Just so you know, we are creating a full featured Infragistics wrapper.  It will include native grid support, so don't worry Smile... it will be "fully supported' if you are having some issues now.  I will look into this and see if I can reproduce the problem and give you a solution. 

Normally we have an extremely quick turnaround on posts.  But the entire team is scattered all over the U.S. this week which generally never happens.  In fact, some of us are at Microsoft at the VSIP summit.

Michael Reese
Michael Reese
Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)Advanced StrataFrame User (533 reputation)
Group: StrataFrame Users
Posts: 235, Visits: 1.6K
Any Word?
StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Yes, Michael, this has been fixed and will be available in the 1.5 release that is going to be available for download on Sept 22.  The BusinessBingingSource's enumerator was navigating the business object improperly, and therefore, the grid thought that each row was the same record within the business object.  We fixed the enumerator and that solved the problem.
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