Comments (12)
@GikiDev, thank you for your reply. Now I see the issue appears when EF is used. We will fix it in the context of this issue
from devextreme.aspnet.data.
Hi @GiviKDev
Would you please check the fixed NuGet from https://ci.appveyor.com/project/dxrobot/devextreme-aspnet-data/build/244/artifacts ?
You will need the following binding redirect in web.config:
<dependentAssembly>
<assemblyIdentity name="DevExtreme.AspNet.Data" publicKeyToken="982f5dab1439d0f7"/>
<bindingRedirect oldVersion="0.0.0.0-99.0.0.0" newVersion="99.0.0.0"/>
</dependentAssembly>
P.S. How to install a Nuget Package .nupkg file locally
from devextreme.aspnet.data.
Test case (in the context of GroupHelperTests
):
var data = new[] {
new { d = new DateTime?(new DateTime(1996, 7, 4)) },
new { d = new DateTime?() }
};
var groups = CreateHelper(data).Group(data, new[] {
new GroupingInfo { Selector = "d", GroupInterval = "year", IsExpanded = false },
new GroupingInfo { Selector = "d", GroupInterval = "month", IsExpanded = false },
new GroupingInfo { Selector = "d", GroupInterval = "day", IsExpanded = false }
});
@vconst @Alyar666
What behavior we expect?
Should null
values be ignored during the calculation of date group intervals?
from devextreme.aspnet.data.
The null values should not be ignored. The groups array should contains item with key value null. The grid ignores the items property in header filter when key is null.
from devextreme.aspnet.data.
Do I understand correctly: there must be 3 group levels with null
keys?
from devextreme.aspnet.data.
Yes
from devextreme.aspnet.data.
Fix will be included in release 1.2.1
from devextreme.aspnet.data.
Hello,
Header Filter not working with Nullable<DateTime>
when RemoteOperations
is set to true
.
public static object Load<T>(IQueryable<T> source, DataSourceLoadOptionsBase options);
method throws an exception:
Value cannot be null.
Parameter name: constructor
Version 1.2.3
from devextreme.aspnet.data.
@roman-simionov PTAL
from devextreme.aspnet.data.
Hello @GiviKDev,
My attempts to reproduce the issue with the sample project were unsuccessful. The header filter works correctly with Nullable<DateTime>
and the enabled RemoteOperations
options. Would you please update my sample to illustrate the issue.
from devextreme.aspnet.data.
Hello @roman-simionov ,
I updated your sample project, where you can reproduce current bug.
from devextreme.aspnet.data.
Hello,
Thanks, it's working like a charm.
from devextreme.aspnet.data.
Related Issues (20)
- XPO: NRE in a filter by an associated object
- .net core support HOT 2
- Allow to modify loadParams at any time HOT 1
- Support SmartEnums
- DataSourceLoadOptionsBase - provide option to skip StringToLower for specific fields HOT 2
- Avoid lifting to nullable HOT 3
- Licensing HOT 3
- How to pass allowdiskuse query parameter for mongodb with the DataLoader? HOT 2
- DataSourceLoadOptions don't work with .NET 6's minimal API HOT 1
- AvgAggregator and RemoteAvgAggregator not using IEnumerable Average() HOT 4
- An exception is thrown when Enum values are compared HOT 1
- Client-side script: If an error is thrown in a Deferred callback, this error doesn't appear in the console, which makes debugging more difficult HOT 1
- ES6 support
- Update 'Using CI Builds'
- Building the /net/Samples/Sample.csproj fails because of missing 'node_modules' directory. HOT 1
- Dependency Dashboard
- ExpressionCompiler fails with AmbiguousMatchException when a source contains a class with an overridden base property with other data types
- IsSummaryQuery Implementation Hidden
- Nested Datagrid Excel Export HOT 2
- Provide additional parameters to support provision of execution context to Load and LoadAsync HOT 3
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 devextreme.aspnet.data.