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

Problem with GridNumericColumn filtering

1 Answer 98 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Pams
Top achievements
Rank 1
Pams asked on 14 Dec 2011, 05:55 AM
Hello,
I am using Radgrid for displaying data. I have two GridBoundColumns (datafield is of string type and currentfilterfunction is contains), one GridDateTimeColumn(datafield is of type DateTime) and two GridNumericColumns(datafield of type Decimal and currentfilterfunction is GreaterThanOrEqualTo).

Filtering with two GridBoundColumns is working fine. Filtering in GridNumericColumns seperately are working fine.
But have problem if filter by combining two GridNumericColumns. 

There are some rows with Numeric Values as shown below . Ex
Col1   Col2
1000 1000
1200 1235
1250 1270
1400 1450
1500 1567

If I enter 1250 in Col 1 or Col 2 seperately , it is giving 3 rows.

When I enter 1250 in Col1 and 1250 in Col 2 filters, then actual output rows should be
1250 1270
1400 1450
1500 1567
Which is not working.

I entered 1250 in one col, and exact values (like 1270 or 1450 or 1567) in other col instead of 1250, then in the out that specifc row is displayed.

I don't know where the problem is. 
Any suggestion pls,
AV





1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 16 Dec 2011, 02:49 PM
Hello Pams,

I am not sure that I understand correctly what you are trying to do. Are you trying to filter Rad
Grid per columns not by rows?

Could you share with us what is the RadGrid output after specifying the filter value. If you could make a screenshot, that would be best.

Meanwhile you could check this help topic for more information about RadGrid filtering.

Best wishes,
Andrey
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Grid
Asked by
Pams
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or