e.value is null
hi
When use grid in batch editing status
And also to use single click instead of double click to edit the cell
If a cell is in edit mode, and leave this current cell in the same state and click on another cell
Freeze Grid or e.value is null error returns in the browser console.
In the meantime, the field is a string type, and It should not throw an exception to Null
this is console errore:
TypeError: e.value is null
successCallBack https://localhost:5001/js/syncfusion/ej2.min.js:1
notify https://localhost:5001/js/syncfusion/ej2.min.js:1
trigger https://localhost:5001/js/syncfusion/ej2.min.js:1
saveCell https://localhost:5001/js/syncfusion/ej2.min.js:1
clickHandler https://localhost:5001/js/syncfusion/ej2.min.js:1
blazorCallback https://localhost:5001/js/syncfusion/ej2.min.js:1
blazorCallback https://localhost:5001/js/syncfusion/ej2.min.js:1
blazorCallback https://localhost:5001/js/syncfusion/ej2.min.js:1
blazorCallback https://localhost:5001/js/syncfusion/ej2.min.js:1
notify https://localhost:5001/js/syncfusion/ej2.min.js:1
notify https://localhost:5001/js/syncfusion/ej2.min.js:1
mouseClickHandler https://localhost:5001/js/syncfusion/ej2.min.js:1
<anonymous> self-hosted:876
And also to use single click instead of double click to edit the cell
If a cell is in edit mode, and leave this current cell in the same state and click on another cell
Freeze Grid or e.value is null error returns in the browser console.
In the meantime, the field is a string type, and It should not throw an exception to Null
this is console errore:
TypeError: e.value is null
successCallBack https://localhost:5001/js/syncfusion/ej2.min.js:1
notify https://localhost:5001/js/syncfusion/ej2.min.js:1
trigger https://localhost:5001/js/syncfusion/ej2.min.js:1
saveCell https://localhost:5001/js/syncfusion/ej2.min.js:1
clickHandler https://localhost:5001/js/syncfusion/ej2.min.js:1
blazorCallback https://localhost:5001/js/syncfusion/ej2.min.js:1
blazorCallback https://localhost:5001/js/syncfusion/ej2.min.js:1
blazorCallback https://localhost:5001/js/syncfusion/ej2.min.js:1
blazorCallback https://localhost:5001/js/syncfusion/ej2.min.js:1
notify https://localhost:5001/js/syncfusion/ej2.min.js:1
notify https://localhost:5001/js/syncfusion/ej2.min.js:1
mouseClickHandler https://localhost:5001/js/syncfusion/ej2.min.js:1
<anonymous> self-hosted:876
SIGN IN To post a reply.
5 Replies
RS
Renjith Singh Rajendran
Syncfusion Team
February 28, 2020 06:23 AM UTC
Hi Ali,
Thanks for contacting Syncfusion support.
We have already documented the topic “Single click editing in batch mode”, in the how-to section of our online documentation. We suggest you to refer the below documentation link to achieve single click editing in batch mode.
Documentation : https://ej2.syncfusion.com/blazor/documentation/grid/how-to/single-click-editing-with-batch-mode/?no-cache=1
We have also prepared a sample with our latest version 17.4.0.51, and tried to reproduce the reported problem(Grid freezes or script error when perform single click edit). But editing works fine with our sample. We are attaching the sample for your convenience. Please download the sample from the link below,
We suggest you to refer our online documentation and the attached sample, and if you are still facing difficulties, then kindly get back to us with the following details for better assistance.
- Share the sample which you have tried from your side. As we need to analyze your custom codes.
- Share the exact scenario or proper replication procedure.
- Syncfusion Version details.
- Share the video demo showing the problem you are facing.
The provided information will help us analyze the problem, and provide you a solution as early as possible.
Regards,
Renjith Singh Rajendran.
AL
ALI
February 28, 2020 07:58 AM UTC
Thanks for your prompt reply
And I also forgot to say in the previous post: This error only applies to columns that are empty or nulls
I have a class containing 3 fields
public class MyClass
{
public int ID { get; set; }
public string Name{ get; set; }
public string Comment{ get; set; }
}
The third column (Comment) is blank by default
but (Id and Name) has values in database
I also used your example to single click on the grid
And then I noticed this error
And I also forgot to say in the previous post: This error only applies to columns that are empty or nulls
I have a class containing 3 fields
public class MyClass
{
public int ID { get; set; }
public string Name{ get; set; }
public string Comment{ get; set; }
}
The third column (Comment) is blank by default
but (Id and Name) has values in database
After displaying the data in the grid, the first and second columns all have values and only the third field(Comment) is empty
If click on the comment cell that is empty and go into edit mode, and Leave the empty cell go to another row and click on the comment cell
Error throws : e.value is null
But for the second column that has the value, such an error is not thrown
Why is it requerd and necessary to insert the value of the string direction in the grid
If a field is a nullable field
If a field is a nullable field
And if the cell is empty, returns [object,object]
LR
Logesh Rajappa
Syncfusion Team
March 2, 2020 11:55 AM UTC
Hi Ali,
Thanks for contacting Syncfusion support.
We have analyzed your query and we are able to reproduce an issue with empty column single click editing in the version 17.4.0.51. Please check if you are reproducing the same script error as below, this will help us validate and resolve the issue asap.
If not, kindly share the below details,
- Full grid code or the sample which you have tried from your side.
- Version details.
- Reproduce the reported issue in the below provided sample.
- Screenshot of the script error.
Please get back to us for further assistance.
Regards,
Logesh
AL
ALI
March 4, 2020 06:36 PM UTC
I downloaded your example and ran it without change
And I made a movie
And I made a movie
This video shows exception
please download from this link
RS
Renjith Singh Rajendran
Syncfusion Team
March 5, 2020 01:47 PM UTC
Hi Ali,
We have confirmed this as a defect and logged a defect report for the same. Thank you for taking the time to report this issue “Batch edit on a column with null values throws script error” and helping us improve our product. At Syncfusion, we are committed to fixing all validated defects (subject to technological feasibility and Product Development Life Cycle ) and including the fix in our upcoming bi-weekly patch release which is expected to be rolled out by the end of March,2020.
You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.
Feedback Link : https://www.syncfusion.com/feedback/12526/batch-edit-on-a-column-with-null-values-throws-script-error
Until then we appreciate your patience.
Regards,
Renjith Singh Rajendran.
SIGN IN To post a reply.
- 5 Replies
- 3 Participants
-
AL ALI
- Feb 27, 2020 07:11 PM UTC
- Mar 5, 2020 01:47 PM UTC