-
Notifications
You must be signed in to change notification settings - Fork 63
951862: Revamp Custom Adaptor in Blazor platform #5880
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
base: hotfix/hotfix-v29.1.33
Are you sure you want to change the base?
Conversation
Build Status: INPROGRESS 🔃 |
CI Status: SUCCESS ✅ |
Build Status: INPROGRESS 🔃 |
CI Status: SUCCESS ✅ |
Build Status: INPROGRESS 🔃 |
CI Status: SUCCESS ✅ |
return dm.RequiresCounts ? DataObject : (object)DataSource; | ||
} | ||
// Returns the result. | ||
return dm.RequiresCounts ? new DataResult() { Result = DataSource, Count = count } : (object)DataSource; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add common sample integrating all data operations and CRUD actions
} | ||
|
||
// Return the result with or without counts based on the request. | ||
return dm.RequiresCounts ? new DataResult() { Result = DataSource, Count = count } : (object)DataSource; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Custom Adaptor as a Component --> add sample for this topic
} | ||
``` | ||
|
||
N> [View Sample in GitHub.](https://github.com/SyncfusionExamples/blazor-datagrid-filtering-with-custom-adaptor) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add screenshots for all actions and remove this sample(similiar to angular). Dont need to add sample for every data action. One common sample is enough
|
||
To send additional parameters with the data request, use the `AddParams` method of the `Query` class. Assign the `Query` object containing the additional parameters to the Syncfusion Blazor DataGrid’s [Query](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.SfGrid-1.html#Syncfusion_Blazor_Grids_SfGrid_1_Query) property. | ||
|
||
The following sample code demonstrates how to send additional parameters to the custom adaptor using the `Query` property of the Grid. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add colon at the end. Maintain uniformity all over the code
Build Status: INQUEUE 🕒 |
Build Status: INPROGRESS 🔃 |
CI Status: SUCCESS ✅ |
No description provided.