Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
365
UltraWinGrid Rows disappearing
posted

Hi!

We've seen this sporatically: when a ultraWinGrid is bound to a dataset, rows disappear when we know the dataset has rows in it.  A code snippet looks like this:

private DataSet ds;

public void refresh()
{

ds = WebService.GetDataSet();
Logger.WriteLine(string.Format("loaded # records = {0}, ds.TABLE.Rows.Count ) );

ultraGridEvent.DataSource = ds.TABLE;
ultraGridEvent.DataBind();

Logger.WriteLine(string.Format("# grid rows {0}", ultraGridEvent.Rows.Count )); 

}

After the grid is bound, we know there are rows in the grid (via Rows.Count log message), but nothing is displayed in the grid.   Eventually, after calling this function a few times, the grid shows the rows...eventually.

Originally we had just the setting of DataSource, but we added the DataBind thinking we needed an extra InitLayout to fire again, but no luck.  We've tried setting the DataSource to null before setting it to ds.Table. And we've tried a Refresh on the grid to no avail.  We are not using filtering of any sort.

We're running UltraWinGrid 8.2.20082.1000.

Any advice would be appreciated.

Corey

Parents Reply Children