Telerik Forums
UI for WPF Forum
1 answer
82 views

Hello 

Is it possible to do a datareduction so we dont display all the points : Handle
one million points (5 series of 200 000), and display one point by pixel (with
only the maximum level for each pixel. So one million points are never
displayed at the same time and we do datareduction.

Vladimir Stoyanov
Telerik team
 answered on 19 Sep 2019
5 answers
248 views

Hi there,

Does anyone know how we can have an endless horizontal scrolling? Basically, I want to be able to change the visible range of ganttview dynamically as user clicks on the right/left thumb of horizontal scrolling.

 

Thanks,

Bahram Afsharipoor

Vladimir Stoyanov
Telerik team
 answered on 19 Sep 2019
1 answer
98 views

Hello,I have a requirement that set the visibility property to collapsed of the ListRootContainer which in the Radtreeview control 

So, what should I do? Or some way to make the ListRootContainer hide.

Dilyan Traykov
Telerik team
 answered on 19 Sep 2019
3 answers
158 views

Hi,

The RadDocking.Close event is not fired when close the pane with mouse middle button (click by pane header), how to get it raised?

Thank you.

 

Dimitar Dinev
Telerik team
 answered on 19 Sep 2019
7 answers
498 views

Hi, I've got a grid where one of my columns shows an alphanumeric id and I want to sort the numbers correctly so I've implemented manual sorting. The bound data comes from a DataTable so I don't have a viewmodel for the rows. My sorting code, which I've hooked up to the Sorting-event, looks something like this:

private void OnGridViewSorting(object sender, GridViewSortingEventArgs e)
{
  if (e.Column.IsCustomSortingEnabled)
  {
    var dataView = (DataView)e.DataControl.ItemsSource;
    if (e.NewSortingState == SortingState.None)
    {
      // TODO: We should maybe reset sorting, not just return here.
      return;
    }
        
    if (dataView.Table.Rows.Count > 0)
    {
      e.Cancel = true;
      DataTable dtNew;
      if (e.OldSortingState == SortingState.None)
      {
        e.NewSortingState = SortingState.Ascending;
        dtNew = dataView.Table.AsEnumerable().OrderBy(x => (string)x[e.Column.Name], GenericStringLogicalComparer.Default).CopyToDataTable();
      }
      else
      {
        e.NewSortingState = SortingState.Descending;
        dtNew = dataView.Table.AsEnumerable().OrderByDescending(x => (string)x[e.Column.Name], GenericStringLogicalComparer.Default).CopyToDataTable();
      }
      var existingDataView = (DataView)this.ItemsSource;
      for (int n = 0; n < existingDataView.Table.Rows.Count; ++n)
      {
        // Just copy the item array instead of rebuilding table
        existingDataView.Table.Rows[n].ItemArray = dtNew.Rows[n].ItemArray;
      }
      existingDataView.Table.AcceptChanges();
    }
  }
}

 

But I have two issues:

  1. When sorting on several columns I want to manage the sorting indices showing in the column headers, but I don't know how. It seems like they correspond to what's in the SortDescriptors collection. But I can't really edit the descriptors without adding some other sorting, can I? Is there some way to manually update the indices? Or set the SortDescriptors without really add another sort.
  2. We can store the state of grids to user-defined views, and do this by using the PersistenceManager to get xml describing the state of the grid. But since the sorting is defined by the SortDescriptors collection our manually sorting is not exported to xml.

I guess that both problems is about how I should edit the SortDescriptors when using the Sorting event.

Martin Ivanov
Telerik team
 answered on 19 Sep 2019
1 answer
2.8K+ views

I want to remove the "Select All" option from multi select check box filter in kendo grid view, when there is no data to be shown on UI or when grid is empty.

Any setting i can do to do so?

Nikolay
Telerik team
 answered on 18 Sep 2019
3 answers
579 views

Hello

We are facing the challenge, to present tasks to our customers.
Each task can consist out of n tasks, but can also stand alone. These child-tasks should be displayed in a hierarchical manner and must be searchable (down to the tree-leaves).

Now we have been wondering if it's easier to build a hierarchy in a GridView, where the Search is implemented, or use the TreeListView, which meets our hierarchical needs.
Since the hierarchical GridView creates new Grids for each hierarchy-level, it seems quiet challenging for me, too.

For the TreeView, you are providing an search-example:
https://docs.telerik.com/devtools/wpf/controls/radtreeview/how-to/implement-search-filter-sort
can this be adopted for the TreeListView?
I'm also wondering, if the search-box from GridView is accessible somehow in the TreeListView somehow.

So our main-concern is, which control is the way to go?

We are grateful for any advice you can give us.

Best Regards

Nico

Dinko | Tech Support Engineer
Telerik team
 answered on 18 Sep 2019
4 answers
460 views

Hi,

I'm currently setting my ItemsSource for my RadGrid to be of type QueryableCollectionView

 

I also set the selecteditem to be of type IDTO. 

 

When I use an QueryableCollectionView, by default, SelectedItem is set to the first item in the collection. If I were to use an ObservableCollection, it's completely fine, SelectedItem is empty until an item is selected. May I ask how do I set it so the QueryableCollectionView doesn't set the value by default. 

 
Vladimir Stoyanov
Telerik team
 answered on 18 Sep 2019
1 answer
203 views

Hi Team,

I am facing an issue with Ribbonview during design time I can not see the ribbon control.

Scenario:

I have created a user control as a container for my Ribbonview. During design time we need to specify the height of that container user control to more than 250 like 251 in order to see this control during design time.

Dimitar Dinev
Telerik team
 answered on 18 Sep 2019
1 answer
57 views

<telerik:RadGridView.FilterDescriptors>   

     <telerik:CompositeFilterDescriptor LogicalOperator="Or">       

          <telerik:CompositeFilterDescriptor.FilterDescriptors>             

               <telerik:FilterDescriptor Member="Hardcoded" Operator="IsEqualTo" Value="false"/>        

          </telerik:CompositeFilterDescriptor.FilterDescriptors>   

     </telerik:CompositeFilterDescriptor>

</telerik:RadGridView.FilterDescriptors>

Dimitar Dinev
Telerik team
 answered on 18 Sep 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?