Format="C2" Displays as C2

I have been going through the example code for the DataGrid control.  Visual Studio 2022, .Net 6.0 and the following Packages

Packages.png


Here are the column definitions:

GColumn.jpg

Freight is the double as described in the tutorial, Freight11 is the same as Freight but with 11.0 added to Freight result.

Here is the output

DgridOutput.png


10 Replies

RN Rahul Narayanasamy Syncfusion Team March 22, 2022 01:47 PM UTC

Hi John, 

Greetings from Syncfusion. 

We are able to reproduce the reported problem and we have included the fix for the reported problem internally. The fix for the issue will be included in our upcoming release which is expected to be release on or before the end of next week. Until then we appreciate your patience. 

Regards, 
Rahul 
 



JO John replied to Rahul Narayanasamy March 23, 2022 06:23 AM UTC

Thank you.



RN Rahul Narayanasamy Syncfusion Team March 25, 2022 05:33 AM UTC

Hi John, 

Thanks for the update. 

We will let you know once the release is successfully rolled out. Until then we appreciate your patience. 

Regards, 
Rahul 



RN Rahul Narayanasamy Syncfusion Team April 5, 2022 02:22 PM UTC

Hi John,


Thanks for your patience.


We are glad to announce that our Essential Studio 2022 Volume 1 release v20.1.0.47 has been rolled out successfully and in this release, we have included the reported problem(displaying format N2 instead of the actual number in the numeric column) in our latest NuGet. So kindly update your NuGet to our latest version to resolve the reported case.


Please let us know if you have any concerns.


Regards,

Rahul



PA Paolo April 19, 2022 03:45 PM UTC

Hi,

I confirm that with v20.1.0.50 (latest new Release) the problem C2 (I had too this issue with v19.x) has been fixed.

BUT, now I have typical regression issues, in Blazor Datagrid, as:

  1. Doesn't work anymore AllowFiltering with FilterType.Menu
  2.  Doesn't work anymore AllowResizing
  3. Doesn't work anymore AllowReordering
  4. Doesn't work anymore Custom Toolbar
So, it seems nor version works well...
Paolo


RN Rahul Narayanasamy Syncfusion Team April 20, 2022 02:31 PM UTC

Hi Paolo,


Thanks for the update.


We suggest you to ensure the reported case after adding the script isolation reference in your _Host.cshtml / _Layout.cshtml (server project) / index.html (webassembly) file.


<head>

    <meta charset="utf-8" />

    . ..

    <link rel='nofollow' href="_content/Syncfusion.Blazor/styles/bootstrap4.css" rel="stylesheet" />

    <script src=https://cdn.syncfusion.com/blazor/20.1.50/syncfusion-blazor.min.js type="text/javascript"></script>

    (Or)

  <script src="_content/Syncfusion.Blazor/scripts/syncfusion-blazor.min.js" type="text/javascript"></script>

</head>


We would like to inform you that we have included changes in loading scripts and styles from 20.1.0.47 version.


Release notes:

https://blazor.syncfusion.com/documentation/release-notes/20.1.47?type=all#breaking-changes


You can use any one of the below methods to load styles and scripts externally. Also kindly refer to the below ways for your additional information.


  1. CDN
Scripts- https://blazor.syncfusion.com/documentation/common/adding-script-references#cdn-reference
Styles - https://blazor.syncfusion.com/documentation/appearance/themes#cdn-reference

 

  1. Static Web Assets

Scripts - https://blazor.syncfusion.com/documentation/common/adding-script-references#static-web-assets

 

Styles - https://www.nuget.org/packages/Syncfusion.Blazor.Themes/


Please let us know if you have any concerns.


Regards,

Rahul



PA Paolo April 20, 2022 04:44 PM UTC

Hi Rahul,

yes it works!

I have still problems in Custom Toolbar, but I think I have to modify something in my code. Have you a documentation link to suggest? I placed a custom toolbar to handle CRUD via modal window.

Thank you a lot

Paolo



RN Rahul Narayanasamy Syncfusion Team April 21, 2022 02:11 PM UTC

Hi Paolo,


Thanks for the update.


We suspect that you are facing difficulties while implementing the Editing operation programmatically with Custom toolbar items. If yes, please find the below documentation for your reference.


https://blazor.syncfusion.com/documentation/datagrid/tool-bar#custom-toolbar-items

https://blazor.syncfusion.com/documentation/datagrid/editing#performing-crud-operation-by-using-separate-toolbar

https://blazor.syncfusion.com/documentation/datagrid/editing#performing-crud-operations-programmatically


Also, we are quite unclear about your requirement about what problem you are facing with the Custom toolbar. Could you please share more details about your problem which will be helpful to validate and provide a better solution?


  • Video demonstration of the problem.
  • Share details about the exact problem you are facing.
  • Share a simple reproducible sample if possible.


Regards,

Rahul




PA Paolo April 22, 2022 04:53 PM UTC

Hi Raul, sorry for my late answer to your questions.

Well, for the moment I have changed the approach. I'm using now the normal toolbar with EditMode.Dialog. Later on I'll go back to fix the "custom toolbar" problems, after reading carefully all the documentation links you provided to me.

But I'm experiencing problems to save to the grid on a dropdownlist field. But I think it's a good idea to open a dedicated thread: could be useful to others, instead continue here, as out of scope.

So next days I'll open other thread.

Thank you for your support indeed.

Ragrds

Paolo



RN Rahul Narayanasamy Syncfusion Team April 25, 2022 05:02 AM UTC

Hi Paolo,


Thanks for the update.


Please create a new thread if you have any other queries.


Regards,

Rahul


Loader.
Up arrow icon