Comments (6)
You must use the GridClient object in the front-end to display the ItemToDisplay serialized object sent by the back-end.
You can follow this guide: https://github.com/gustavnavar/Grid.Blazor/blob/master/docs/blazor_client/Quick_start.md
from grid.blazor.
Thank you @gustavnavar but now am facing another issue when ever I applying some filter the value was not passed to the api
var query = new QueryDictionary();
query.Add("grid-page", "2");
var client = new GridClient(HttpClient, url, query, false, "ordersGrid", Columns);
_grid = client.Grid;
every time the query obj(query) we send from here is received not we applied one
from grid.blazor.
program.cs file
services.AddHttpContextAccessor();
razor file
@Inject IHttpContextAccessor HttpContextAccessor
var query = HttpContextAccessor.HttpContext.Request.Query;
var dictionary = ConvertToDictionary(query);
var clients = new GridClient<WorkflowsModel>(HttpClient, "app/Data", dictionary, false, "appGrid", Columns)
.Sortable()
.Filterable()
.WithMultipleFilters();
public static QueryDictionary ConvertToDictionary(IQueryCollection queryCollection)
{
var dictionary = new QueryDictionary();
foreach (var kvp in queryCollection)
{
dictionary.Add(kvp.Key, kvp.Value);
}
return dictionary;
}
from grid.blazor.
Is this right
from grid.blazor.
I cant not see what is wrong in your code.
Could you open a new issue attaching the a visual studio project with your code?
from grid.blazor.
Its working fine
from grid.blazor.
Related Issues (20)
- No data displayed when applying an "is null" filter on nullable text columns HOT 1
- Show message on empty SubGrid HOT 2
- GridHeaderComponent is null when I press apply button on a custom filter HOT 7
- Totals rounding HOT 2
- Totals System.AggregateException when using search HOT 2
- Checkboxes in GridComponent does not include all the rows when pagination is active HOT 1
- how to return additional data from controller using odata backend HOT 1
- File upload crushes in debug mode HOT 7
- How to sort the grid using an API rest as a data source HOT 1
- Did development stop on this component? HOT 1
- Error when table filter is invalid HOT 3
- Show selected filters [Blazor] HOT 1
- Bulgarian language inaccuracies HOT 1
- Request for adding localization languages. HOT 3
- Change cell background color depending on value. HOT 2
- Serialize ISGrid HOT 2
- SubGrid button bar is not displayed HOT 2
- Two errors in version 5.0.3 HOT 4
- .WithPaging - how can i make the parameter dynamically from user input on grid HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grid.blazor.