GridGroupingControl & FilterBar

I'm not sure what I'm doing wrong but my simple app crashes if I turn on filtering in ggc control.

Control crashes in design time and in runtime.

Error: Object reference not set to an instance of an object.



FilterBarError.zip

5 Replies

AD Administrator Syncfusion Team February 16, 2007 10:31 PM UTC

Hi Srdjan,

Sorry for the inconvenience caused. This is a known issue in GroupingGrid. We have filed a defect on this issue and you could track the progress of this in the below OPEN ISSUES link.

http://www.syncfusion.com/support/issues/grid/Default.aspx?ToDo=view&questId=2302

Thanks for your patience

Best regards,
Haneef


SR Srdjan February 19, 2007 01:11 PM UTC

Ok, another question.

Now I'm initializing filterbar in form constructor after setting DataSource property.

FilterBar is shown and so is the data in grid. However upon clicking on FilterBar dropdown i only see default values: (All), (Custom) and (Empty). I don't see values in the filter.

I set up FilterBar using:
grid.TableDescriptor.TopLevelGroupOptions.ShowFilterBar = true;
and for each column I place:
AllowFilter = true;

Can you suggest what I'm doing wrong?


AD Administrator Syncfusion Team February 19, 2007 07:04 PM UTC

Hi Srdjan,

Could you please give me some more information regarding how to implement this issue in this sample. I would really appreciate it if you could provide us a sample that exhibits this behavior. We will try analyzing it here.

Thanks for choosing and using Syncfusion Products.

Best regards,
Haneef


SR Srdjan February 21, 2007 12:01 PM UTC

Ok, in this example you can see two issues. I have found why is this happening. If column name and mapping name are different than filter bar isn't working. This is not a big problem since I don't have reasons to keep them different.

Second issue: FilterBar is displaying ValueMembers instead of Display members. Not good.

Question: How can I support incremental search in GGC? Actually I want Autocomplete support in FilterBar so that users can type first few letters and grid filters all rows that are containing that letters in column. I need this functionality.

Thanks.

ExampleGrid.zip


SR Srdjan February 24, 2007 10:56 AM UTC

I would appreciate your feedback on this issue...

Thanks.

Loader.
Up arrow icon