Telerik Forums
UI for WPF Forum
3 answers
566 views

Hello,


I have the following requirements/queries regarding the grid:

1) How easy is to accommodate other controls (like combobox,textbox,maskedtexbox) in the cell.

2) How easy is to template grid/cell/datarow

3) Binding with observable collection

4) What about validation, do we have any numeric text box, date time picker, ip address text box support.

5) Can we template grouping row.

6) Triggers/Data triggers/Multi triggers support

7) Icon/Card view support

8) Read only level (I.e. it should be at cell, column, row level)

9) Selective sorting support (i.e. can we specify which column to sort and which to not)

10) Does column adjust its width according to data content.

11) Templating datarow/datacell (for ex. Placing image in place of text content) is possible or not.

12) Inplace editing with two way binding.

13) Selective readonly support (i.e. can we specify which column should be readonly and which should not)

14) Can we get cell validation exception so that we can handle it accordingly.

15) In case the validation fails at certain cell does the focus remain on the same cell.

16) Validation exception - can we get them on grid lost focus.

17) Do we have support for events like – grouping, sorting, gridlostfocus, Celllostfocus, rowlostfocus,mouse events at cell/row/grid level etc.

18) Add new row support.

19) Support for deferred/Immediate scrolling.

20) Do we have automatic support for checkbox column (ie. If we bind a column to bool field then automatic checkbox should appear in that column, if not how to place checkbox in a clolumn bound to a bool field)

21) Can we template header row to say have a checkbox in header row to select all checkboxes of all the rows

22) Do we have support for fixed header and footers.

23) Number of themes available.

24) Do we have sample that shows ip address masking in the cell.

25) Context menu on grid rows.

26) Do we have functions to get object/item from the row/container and vice versa

Please suggest me how to achieve above requirements, a sample code will certainly help in meeting this requirements and preparing a demo application.

It will be helpful if you answer the queries with a yes/no.

Thanks in advance

 

 

 

Prash
Top achievements
Rank 1
 answered on 10 Feb 2009
1 answer
100 views
When I am trying to bind the grid by itemSource then i get the following exception

Method not found: 'System.Windows.Threading.DispatcherOperation System.Windows.Threading.Dispatcher.BeginInvoke(System.Delegate, System.Object[])'

Please suggest the cause and the solution.
Thanks and regards
Stefan Dobrev
Telerik team
 answered on 09 Feb 2009
3 answers
265 views
Hi,
 I want custom context menu for parent and child node. I am binding my tree with a collection in code behind. How can I achive my goal?
 
Tihomir Petkov
Telerik team
 answered on 09 Feb 2009
1 answer
112 views
Hi,
Is there any way to get the selected node in the tree(WPF). I want to get the selected item(node) when I click on the context menu.
I want ot add a node in the tree dynamically on selection of new from the context menu. 
Tihomir Petkov
Telerik team
 answered on 09 Feb 2009
9 answers
874 views
Hi,
I am evaluating Rad controls for WPF (RadGridView and few other controls) to use in our project, also had a look at the samples provided along with the evaluation download. I have few queries,
#1. We would be displaying a Summary Row (Frozen row) at bottom of the grid visible area, which is used to display the sum of the values being displayed in that particular column.
#2. Export the grid data(including summary row) in to Microsoft Office Excel file
#3. I would like to customize the gridview's look and feel
 -- remove the RowHeader column, the very first tiny column
 -- remove the curved finish for the last column header

Let me know if these are possible in Rad GridView?

--Dhana
Nedyalko Nikolov
Telerik team
 answered on 06 Feb 2009
1 answer
166 views
Hi,
I am binding my tree with the collection.

 


Now while adding an item to the tree view I want to set the header and the name of the Item node. 

Currently I am able to set the header of the item added but when I try to set the name I get an error. 

RadTreeViewItem
objRadItem;

 

 

 

 

objRadItem.Items.Add(

new RadTreeViewItem()

 

{

Header = "Harsh",

 

//Name = Convert.ToString(12)

 

 

 

});

How can I set the name of an item added?

 

Tihomir Petkov
Telerik team
 answered on 06 Feb 2009
0 answers
116 views
Is it possible to customize the xaxis labels?

We have a line series mapped from a linear (0 to 6) xaxis to a logarithmic scale.
The axis values go from 0 to 6, but we need the labels on the axis to reflect the custom scale. i.e. 0 would be the label "125 Hz", 1 would be the label "250 Hz", etc.

Is there any way to do this?

Thanks!

Please Disregard, the answer was posted in x-axis-as-a-string
John McElroy
Top achievements
Rank 1
 asked on 05 Feb 2009
4 answers
147 views
Hi,

I have two major problems - one is partial solved via setting IsLabelRotated to false.
The other is really a problem and I couldn't find anything in the documentation.

First of all -- is it possible to rotate all labels "Inside out".
Your kind of "auto rotation" is quite a bit irritateing :)

What I get - on a scale 0 - 100 with 10 is.
0, 10, 20 is "outside in" 30 to 70 is "inside out" and finally 80, 90 and 100 is again (in the oposite direction)
"outside in".
What I simply want is all inside out -- like with the radial (first) here http://www.david-black.info/bashboard/default.aspx

BUT: without rotation it is not exaxtly what I want - but at least "readable" - so not that problem.

The second thing is much more imporatant.
I display a value in the range from 0 to 255.
So it would be nice to have labels at 0, 20, 40, 60,....200, 220, 240, 255
All I found was "MajorTicks" which give me labels like 21, 43, 64... with 12 as value,
or 26, 51, 77... and so on if I keep the default of 10.

I was looking for something like "TickDistance" or "TickFrequency" -- but all I found was "MajorTicks"
which is an integer divider -- not really usefully for numbers like mine.
Of course it would work with 260 - and 13 --- but my users would be a bit irritatied if a display for an 8 bit A/D converter
shows number bigger than 255 :)

Waiting for you help

Manfred
Vlad
Telerik team
 answered on 04 Feb 2009
1 answer
120 views
Hi,
   I am using expanded event of the WPF Treeview to populate children of the parent node when the parent node is clicked.

I am binding my treeview with the collection. Collection has 2 things
a. Name
b. Commodity

On page load:

this

.RadTreeView.Items.Add(new RadTreeViewItem()

 

{

Header = "Name"

 

});

 

this.RadTreeView.Items.Add(new RadTreeViewItem()

 

{

Header = "Commodity"

 

});

Now I want to show the children under commodity on click of commodity (parent node).

 

private

void RadTreeView_Expanded(object sender, Telerik.Windows.RadRoutedEventArgs e) { 

 

 

 

 

 

RadTreeView objRadTreeView = sender as RadTreeView;

 

 

 

RadTreeViewItem objRadItem = e.OriginalSource as RadTreeViewItem;

 

 

 

CommodityCollection objCommodityCollection = this.CommodityCollection;

 

 

 

 

for (int i = 0; i < objCommodityCollection.Count; i++) {

 

 

 

 

 

 

objRadItem.Items.Add(

objCommodityCollection[i].CommodityName);

 

 

 

    }
}

 

Now the issue is when I run the application, as currently there are no child for commodity I am not getting expand icon on the left side of commodity (when the page is loaded) because of which Expanded event is not called.

How to resolve this issue?

 

 

 

Tihomir Petkov
Telerik team
 answered on 03 Feb 2009
3 answers
112 views
Hi,
   I have seen the demo of load on demand in your site but it uses Expanded event. There is event called LoadOnDemand in treeview, so my Question is how can we use this event to load child nodes on demand.

Also when I use Expanded event how will I know which parent node is been clicked .

 

private void RadTreeView_Expanded(object sender, Telerik.Windows.RadRoutedEventArgs e) {

 

 

    RadTreeView objRadTreeView = sender as RadTreeView;
}

 

Tihomir Petkov
Telerik team
 answered on 03 Feb 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?