While testing my implementation of a simple hierarchical grid, I happened on a case where I had over a page of rows, collapsed to less than a page and had the scroll bar disappear, and then expanded and the scroll bar did not come back. What''s worse is that arrowing down into the off screen rows does not scroll then into view. Is this a known issue? My code uses SQL Server for data and it will take a little work to get you a sample that is portable, so I want to make sure this is not a known issue before I go to the trouble. Let me know...
ADAdministrator Syncfusion Team February 8, 2004 07:17 AM
What version of our grid are you using?
Maybe you can modify this attached sample to show this problem? I could not see this problem in the attached sample and 184.108.40.206.
How is your grid parented? (on the form, or in a panel or groupbox, usercontrol , ???).
ABAndy BarnhartFebruary 8, 2004 07:43 AM
It is a 220.127.116.11 grid control that is on a control that is on a form. I am now having trouble reproducing it also; I had reloaded the grid several times. I was switching between sections (categories that my data is viewed in) and expanding and collapsing rows for a few minutes before it happened. My first assumption was that it had to do with the data in that section, but it appears to be more complex than that. I will let you know if it keeps reappearing and I can figure out a sequence.
ABAndy BarnhartFebruary 8, 2004 07:01 PM
I figured out how to reproduce the bug at will, but it isn''t easy to provide a simple sample.
Do you have SQL Server or MSDE?
I can give you the current project (it''s just some test code to eval your stuff) and a database with explicit instructions to make it happen. I have to load the grid with a fair amount of data, hide several rows, reload the grid, hide several rows to get under a page and then expand to go back over a page. Once it is trashed, it stays that way. I can reload in another section and get a scroll bar back, but it won''t take me nearly all the way through the data.
Anyway, let me know if you can handle SQL Server data files to mount.
ADAdministrator Syncfusion Team February 9, 2004 03:21 AM
When you say hide rows, are you actually hiding rows setting grid.Model.Hidden[rowIndex] = true; (or something equivalent)?
If so, before reloading the datasource for the grid, try setting
to see if this takes care of the problem. If you explicitly hide rows, then changing the datasource does not tell the grid to ''unhide'' anything.
If that is not it, and you want to attach a sample, I use MSDE normally. But can you just call DataSet.WriteXml to save the data as an XML file, and then use DataSet.ReadXml to load the data into your project? This way there is SQL db to worry about.
ABAndy BarnhartFebruary 9, 2004 06:25 AM
I am not using a datagrid, just a grid, and load the data by hand from a reader (it screams compared to using a dataset). I use MSDE 2000 as my backend. I need to figure out what''s up with DIRECT-TRAC (it says I am already registered, but when I click on email the password, it says it does but I receive no email) so I can send the data. It''s proprietary data that I can''t post openly, even in it''s current state (barely usable port from another source).
I have another problem to report that is a dev environment crash that I also need to use DIRECT-TRAC for.
ADAdministrator Syncfusion Team February 9, 2004 07:01 AM
I sent the password in a separate email.
ABAndy BarnhartFebruary 9, 2004 07:50 AM
The code, data and instructions are in a DIRECT-TRAC incident now. I also submittted one for the VS.NET crash.