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

[Solved] how to show a group without child?

4 Answers 82 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Alexandre Jobin
Top achievements
Rank 1
Alexandre Jobin asked on 27 Jul 2010, 04:31 PM
Hi!

i need a way to show a list of Product grouped by their Categories but i need to show ALL the Categories even if theres no product inside. Each product must be selectable.

i have attached a screenshot of what i have done but theres a problem. When i have a Categorie without products, i generate an empty row with the Categorie information for the Telerik Grid to show the empty group. In fact, theres a blank line on the Category Group that i dont want.

So is there a way to show empty group with Telerik Grid?

alex

4 Answers, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 29 Jul 2010, 01:04 PM
Hello Alex,

If you use the Q2 2010 beta, you can achieve the desired result using the newly introduced master/detail views. It should save you from hacking your way toward a similar functionality.

Greetings,
Alex Gyoshev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Alexandre Jobin
Top achievements
Rank 1
answered on 29 Jul 2010, 01:45 PM
i saw the Master/Details but this is not what we want. We don't want a grid in a grid. Or maybe we can remove the Details Header/Footer?

we just want to have the possibilities to have a simple group with empty detail.

alex
0
Alex Gyoshev
Telerik team
answered on 29 Jul 2010, 04:30 PM
Hello Alex,

It is not mandatory to use a grid as a child template - you can simply insert a table, or whatever HTML you need.

Best wishes,
Alex Gyoshev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Alexandre Jobin
Top achievements
Rank 1
answered on 30 Jul 2010, 12:08 AM
i think we will use a treeView and simple table for that.

thank you for your help!
Tags
Grid
Asked by
Alexandre Jobin
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Alexandre Jobin
Top achievements
Rank 1
Share this question
or