Hi Guys - congratulations on Beta 2 - it's a big step forward and seems to fix most of the issues we encountered in the first release!
Just a couple of issues that have come up for us with the new release:
1. Is it possible to turn off the filtering feature?
2. The autofit column algorithm does not include the header text (we would expect it to)
3. When adding field descriptions dynamically and refreshing the data, we get:
Any help with these would be much appreciated,
Will Holley
Just a couple of issues that have come up for us with the new release:
1. Is it possible to turn off the filtering feature?
2. The autofit column algorithm does not include the header text (we would expect it to)
3. When adding field descriptions dynamically and refreshing the data, we get:
{System.NullReferenceException: Object reference not set to an instance of an object.
at Telerik.Windows.Controls.UI.DistinctFilterControl.PopulateDistinctValues()
at Telerik.Windows.Controls.UI.DistinctFilterControl.<DistinctFilterControl_Loaded>b__0()}
at Telerik.Windows.Controls.UI.DistinctFilterControl.PopulateDistinctValues()
at Telerik.Windows.Controls.UI.DistinctFilterControl.<DistinctFilterControl_Loaded>b__0()}
Any help with these would be much appreciated,
Will Holley
5 Answers, 1 is accepted
0
Accepted
Hi Will,
1. To turn the filtering off you have to use the the boolean IsFilteringAllowed property of RadGridView.
2. About the "autofit column algorithm" - we are currently working on the matter.
3. Dynamically adding field descriptors is not supported at the moment. We have this in our To-Do list and we will consider the feature for the forthcoming versions of the control.
Kind regards,
Atanas
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
1. To turn the filtering off you have to use the the boolean IsFilteringAllowed property of RadGridView.
2. About the "autofit column algorithm" - we are currently working on the matter.
3. Dynamically adding field descriptors is not supported at the moment. We have this in our To-Do list and we will consider the feature for the forthcoming versions of the control.
Kind regards,
Atanas
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Will
Top achievements
Rank 1
answered on 03 Jul 2008, 12:47 PM
Atanas,
Thanks for the swift reply.
1. This works great.
2. Good to hear - looking forward to the next release.
3. This actually seems to work most of the time - if you add the field definitions but set them to be hidden and then show them once the data has loaded it works but if they are set to be visible before the data is loaded it throws an exception.
Will
Thanks for the swift reply.
1. This works great.
2. Good to hear - looking forward to the next release.
3. This actually seems to work most of the time - if you add the field definitions but set them to be hidden and then show them once the data has loaded it works but if they are set to be visible before the data is loaded it throws an exception.
Will
0
Accepted
Hello Will,
I managed to add a column dynamically on button click for example, but it was quite tricky. This is the code:
object source = this.radGridView.ItemsSource;
I have to say that, at the moment, we do not recommend adding and removing columns at runtime, the best way would be to add all columns and hide the unneeded ones using the IsVisible property of the column.
Regards,
Atanas
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
I managed to add a column dynamically on button click for example, but it was quite tricky. This is the code:
object source = this.radGridView.ItemsSource;
GridViewDataColumn id = new GridViewDataColumn();
id.HeaderText =
"Customer ID";
id.UniqueName =
"CustomerID";
id.IsVisible =
false;
this.radGridView.Columns.Add(id);
this.radGridView.ItemsSource = null;
this.radGridView.ItemsSource = source;
id.IsVisible =
true;
I have to say that, at the moment, we do not recommend adding and removing columns at runtime, the best way would be to add all columns and hide the unneeded ones using the IsVisible property of the column.
Regards,
Atanas
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Will
Top achievements
Rank 1
answered on 07 Jul 2008, 11:51 AM
Thanks Atanas,
We're happy to accept this as unsupported for now - maybe something to consider for future releases?
Will
We're happy to accept this as unsupported for now - maybe something to consider for future releases?
Will
0
Hello Will,
I guess we can add this feature after we ship the 1.0 release. The date is getting dangerously close for us to add features that would be that disruptive to the code base.
Regards,
Hristo Deshev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
I guess we can add this feature after we ship the 1.0 release. The date is getting dangerously close for us to add features that would be that disruptive to the code base.
Regards,
Hristo Deshev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center