Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
14266 | May 24,2004 05:52 AM UTC | May 25,2004 07:24 AM UTC | WinForms | 3 |
![]() |
Tags: GridControl |
GridStyleInfo style = this.gridDataBoundGrid1.BaseStylesMap["Header"].StyleInfo;
style.BackgroundImage = new Bitmap(1,1); //more or less empty
2)
this.gridDataBoundGrid1.Binder.EnableRemove = false;
3) Need to set AllowResizeToFit = false to turn off the default sizing. See http://www.syncfusion.com/Support/article.aspx?id=577
4)Is you grid in some kind of dynamic spllitter like our TabBarSplitterWnd or GridRecordNavigationBar? If so, you will have to wire the filterbar in PaneCreated and unwire it in PaneClosing. See http://www.syncfusion.com/Support/article.aspx?id=580.
If this does not explain what you are seeing, can you post a sample showing the problem?
>GridStyleInfo style = this.gridDataBoundGrid1.BaseStylesMap["Header"].StyleInfo;
>style.BackgroundImage = new Bitmap(1,1); //more or less empty
>
>
>2)
>
>this.gridDataBoundGrid1.Binder.EnableRemove = false;
>
>
>3) Need to set AllowResizeToFit = false to turn off the default sizing. See http://www.syncfusion.com/Support/article.aspx?id=577
>
>4)Is you grid in some kind of dynamic spllitter like our TabBarSplitterWnd or GridRecordNavigationBar? If so, you will have to wire the filterbar in PaneCreated and unwire it in PaneClosing. See http://www.syncfusion.com/Support/article.aspx?id=580.
>
>If this does not explain what you are seeing, can you post a sample showing the problem?
FilterSample_4583.zip
gridDataBoundGrid1.DataSource = ds;
gridDataBoundGrid1.DataMember = "Table1";
to
gridDataBoundGrid1.DataSource = ds.Tables["Table1"];
Now the first code should also work, so we will track down the problem and correct it, but until we include the fix in an update, try using the second way of binding the datatable. This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.