Skip to content

FLUT-6128 - [Others] Provided the UG documentation to the filtering support. #377

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Sep 27, 2022

Conversation

ashok-kuvaraja
Copy link
Contributor

Description

  • We have provided the UG document to the new data grid filtering feature.

@ashok-kuvaraja ashok-kuvaraja changed the base branch from master to development September 20, 2022 05:48
@ashok-kuvaraja ashok-kuvaraja self-assigned this Sep 20, 2022
@SyncfusionBuild
Copy link
Contributor

Build Status: INPROGRESS 🔃
Build Location: FLUT-6128-Filtering-support

@SyncfusionBuild
Copy link
Contributor

CI Status: FAILURE ❌
Source Compilation: SUCCESS ✅
Failure Reason: CI Failure with violation
Build Location: FLUT-6128-Filtering-support
Technical Error(s): 0
Spelling Error(s): 0
Image Alt Text Error(s): 0
Image Size Error(s): 5
Image Name Error(s): 0
FT Layout Syntax Error(s): 0
Front matter Error(s): 0
File Path Error(s): 0

@SyncfusionBuild
Copy link
Contributor

Build Status: INPROGRESS 🔃
Build Location: FLUT-6128-Filtering-support

@SyncfusionBuild
Copy link
Contributor

CI Status: FAILURE ❌
Source Compilation: SUCCESS ✅
Failure Reason: CI Failure with violation
Build Location: FLUT-6128-Filtering-support
Technical Error(s): 0
Spelling Error(s): 0
Image Alt Text Error(s): 0
Image Size Error(s): 5
Image Name Error(s): 0
FT Layout Syntax Error(s): 0
Front matter Error(s): 0
File Path Error(s): 0

@SyncfusionBuild
Copy link
Contributor

Build Status: INPROGRESS 🔃
Build Location: FLUT-6128-Filtering-support

@SyncfusionBuild
Copy link
Contributor

CI Status: SUCCESS ✅
Source Compilation: SUCCESS ✅
Build Location: FLUT-6128-Filtering-support
Technical Error(s): 0
Spelling Error(s): 0
Image Alt Text Error(s): 0
Image Size Error(s): 0
Image Name Error(s): 0
FT Layout Syntax Error(s): 0
Front matter Error(s): 0
File Path Error(s): 0

Copy link
Collaborator

@NeelakandanKannan NeelakandanKannan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have added my feedback as comments. Get back to me with the changes.

]),
),
MaterialButton(
child: Text('Add Filter'),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ashok-kuvaraja - Change the name of the button.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modified.

]),
),
MaterialButton(
child: Text('Add Filter'),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ashok-kuvaraja - Change the name of the button.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modified

child: Text('Add Filter'),
onPressed: () {
// To clear filter conditions from a specific column.
_employeeDataSource.clearFilters(columnName: 'Salary');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ashok-kuvaraja - Don't provide both the code snippet.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modified


### Filter behavior

The `FilterBehavior` enum property is used to specify whether to consider the `FilterValue` as the string or actual data type.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The FilterBehavior enum property is used to specify whether filtering should consider the value of a cell as the string or its data type.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modified


### Filter operator

The `FilterOperator` enum property is used to decide how a logical operator is to be applied between multiple filter conditions.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The FilterOperator property is used to decide how a logical operator is to be applied between multiple filter conditions.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modified

<th>Date Filters </th>
</tr>
<tr>
<td>When the string value is bounded to the <code>GridColumn</code>, then <code>TextFilters</code> are loaded in <code>AdvancedFilterControl</code>. </td>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When the string value is loaded to the GridColumn, then TextFilters options are loaded in advanced filter view.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modified

</tr>
<tr>
<td>When the string value is bounded to the <code>GridColumn</code>, then <code>TextFilters</code> are loaded in <code>AdvancedFilterControl</code>. </td>
<td>When the int or double values are bounded to the <code>GridColumn</code>, then <code>NumberFilters</code> are loaded in <code>AdvancedFilterControl</code>. </td>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When the numeric data is loaded to the GridColumn, then NumberFilters options are loaded in advanced filter view.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modified

<tr>
<td>When the string value is bounded to the <code>GridColumn</code>, then <code>TextFilters</code> are loaded in <code>AdvancedFilterControl</code>. </td>
<td>When the int or double values are bounded to the <code>GridColumn</code>, then <code>NumberFilters</code> are loaded in <code>AdvancedFilterControl</code>. </td>
<td> When the DateTime type value is bounded to the <code>GridColumn</code>, then <code>DateFilters</code> are loaded in <code>AdvancedFilterControl</code>. </td>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When the DateTime type value is loaded to the GridColumn, then DateFilters are loaded in advanced filter view.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modified


#### Case sensitive filtering

The case sensitive filtering can be enabled for the column by using the casing icon available in the advanced filter UI. If the icon is active, the filtering will be applied with the case sensitive with the filter text. The case sensitive icon will be shown only to the string type columns.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The case sensitive filtering can be enabled for the column by using the casing icon available in the advanced filter UI. This is available only for TextFilters filter view. If the icon is active, the filtering will be applied with the case sensitive with the filter text. The case sensitive icon will be shown only to the string type columns.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modified

{% endhighlight %}
{% endtabs %}

## UI Filtering
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ashok-kuvaraja - Add the following topic above to this topic,
Retrieving the filtered rows
https://help.syncfusion.com/windowsforms/datagrid/filtering#retrieving-the-filtered-records

Then, add below topic,

Filter DateColumn with range between two dates
https://help.syncfusion.com/windowsforms/datagrid/filtering#filter-datecolumn-with-range-between-two-dates

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Included the topics.

@SyncfusionBuild
Copy link
Contributor

Build Status: INPROGRESS 🔃
Build Location: FLUT-6128-Filtering-support

@SyncfusionBuild
Copy link
Contributor

CI Status: SUCCESS ✅
Source Compilation: SUCCESS ✅
Build Location: FLUT-6128-Filtering-support
Technical Error(s): 0
Spelling Error(s): 0
Image Alt Text Error(s): 0
Image Size Error(s): 0
Image Name Error(s): 0
FT Layout Syntax Error(s): 0
Front matter Error(s): 0
File Path Error(s): 0

Copy link
Collaborator

@NeelakandanKannan NeelakandanKannan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes are fine.

@SyncfusionBuild
Copy link
Contributor

Build Status: INPROGRESS 🔃
Build Location: FLUT-6128-Filtering-support

@SyncfusionBuild
Copy link
Contributor

CI Status: SUCCESS ✅
Source Compilation: SUCCESS ✅
Build Location: FLUT-6128-Filtering-support
Technical Error(s): 0
Spelling Error(s): 0
Image Alt Text Error(s): 0
Image Size Error(s): 0
Image Name Error(s): 0
FT Layout Syntax Error(s): 0
Front matter Error(s): 0
File Path Error(s): 0

@NeelakandanKannan NeelakandanKannan merged commit 2b50ac2 into development Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants