This is a migrated thread and some comments may be shown as answers.

Grow column dynamically and column grouping

2 Answers 64 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ilias
Top achievements
Rank 1
Ilias asked on 10 Dec 2012, 03:53 PM
Hi

I need to generate WPF grid with

1. Grow column Dynamically
2. Column can be grouped.
3. Column type may be different for different row. Might be textbox, combo or label.

See the attachment for sample.

Regards
Ilias Hossain

2 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 11 Dec 2012, 02:30 PM
Hello Ilias,

As to your questions,
1.  Would you please clarify what is the case you have about dynamically changing the Width for a column?
2. If you have bound the column and/or set a valid GroupMemberPath, then you should be able to group on that column. What is the case you have?
3. I would suggest you to check the CellTemplateSelector help article.

Kind regards,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Ilias
Top achievements
Rank 1
answered on 17 Dec 2012, 06:47 PM
Thanx

It was great help and i have control on individual cell now.

One more question on Gridviewcell.

How can i set expression on individual cell. Senarion is like excel. With GridviewExpression column expression can be set. However i can set it on a cell.

Example Formula:

Cell 2 = Cell 1 * 10
Cell 3 = Cell 1 * Cell 0
Tags
GridView
Asked by
Ilias
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Ilias
Top achievements
Rank 1
Share this question
or