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

Don't grouping single item (row)

4 Answers 36 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Gegham Muradyants
Top achievements
Rank 1
Gegham Muradyants asked on 27 Jan 2010, 11:24 AM

Hi,  I have the following issue related RadGridView grouping functionallity, I am trying to explain it with example.

{ProductName=”Tv1”,Price=100}

{ProductName=”Tv2”,Price=100}

{ProductName=”Tv3”,Price=100}

{ProductName=”Tv4”,Price=200}

this list must be grouped by Price. My groups count should be 2, one grouped bye ( Price = 100) and second grouped bye (Price = 200). I do not need Second group, becouse it is contains one item ! Is there any option to solve this issue .
Thanks !

4 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 27 Jan 2010, 12:49 PM
Hello Gegham Muradyants,

I am a bit confused . You say you need 2 groups and later you say you do not need the second group.

I mean as final result  - you need the Item ProductName=”Tv4”,Price=200} to be hidden  ?

By default it looks like :
===========================
<Group Header Price=100>
---------------------------
 |Tv1|$100|
 |Tv2|$100|
 |Tv3|$100|
---------------------------
<Group Header Price=200>
---------------------------
  |Tv4|$200|
---------------------------
===========================

How should it look after grouping for your scenario ?

Sincerely yours,
Pavel Pavlov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Gegham Muradyants
Top achievements
Rank 1
answered on 27 Jan 2010, 01:54 PM
I mean by default should be 2 groups.  there is a exemple to show you what i want. Thanks !
0
Vlad
Telerik team
answered on 28 Jan 2010, 01:08 PM
Hello,

I'm afraid that such scenario is not supported.

Kind regards,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Jose
Top achievements
Rank 1
answered on 12 Apr 2011, 02:08 PM
Hello:
 We need to do something like this with our data.
In the current version is possible?

Thanks
Tags
GridView
Asked by
Gegham Muradyants
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Gegham Muradyants
Top achievements
Rank 1
Vlad
Telerik team
Jose
Top achievements
Rank 1
Share this question
or