Hi, syncfusion teams.
There seems to be an error in the treegrid.
I will explain with pictures below.
For reference, the newpositionrow setting is child.
1. ">" is automatically generated below in treegrid.
2. However, when adding a child in the last row, an error occurs as shown below.
please help me solve it.
Below is the code. If you have any questions, please "Reply".
<ejs-treegrid id="EqSelTree" height="600" dataBound="dataBound" rowHeight="30" frozenColumns="5" gridLines="Both" treeColumnIndex="3" idMapping="EQ_NO" hasChildMapping="IS_PARENT" parentIdMapping='P_EQ_NO' allowTextWrap="true" allowResizing="true"
cellEdit="treeEdit" cellSave="treeCellSave" queryCellInfo="treeCellChange" beforeBatchAdd="treeBeforeBatchAdd" toolbar="@(new List<string>() {"Add","Delete","Update","Cancel" })">
<e-data-manager url="/HvacInform/HD_EQSEL_URL" crudUrl="/HvacInform/HD_EQSEL_CRUDURL" adaptor="UrlAdaptor"></e-data-manager>
<e-treegrid-editsettings allowAdding="true" allowEditing="true" allowDeleting="true" mode="Batch" newRowPosition="Child"></e-treegrid-editsettings>
<e-treegrid-textwrapsettings wrapMode="Header"></e-treegrid-textwrapsettings>
<e-treegrid-columns>
<e-treegrid-column field="EQ_NO" visible="false" isPrimaryKey="true" defaultValue="@empty"></e-treegrid-column>
<e-treegrid-column field="P_EQ_NO" visible="false" defaultValue="@empty"></e-treegrid-column>
<e-treegrid-column field="IS_PARENT" visible="false" defaultValue="@empty"></e-treegrid-column>
<e-treegrid-column field="EQ_NM" headerText="EQUIP NAME" width="200" defaultValue="@empty" headerTextAlign="Center" textAlign="Left" edit="@(new { create ="create", read ="read", destroy ="destroy", write ="write" })"></e-treegrid-column>
<e-treegrid-column field="TAG_NO" headerText="TAG No." width="200" defaultValue="@empty" headerTextAlign="Center" textAlign="Left"></e-treegrid-column>
<e-treegrid-column headerText="UNIT Q'TY" headerTextAlign="Center" textAlign="Center"
columns="@(new List<Syncfusion.EJ2.Grids.GridColumn>() {
new Syncfusion.EJ2.Grids.GridColumn { Field ="DTY_QTY" , HeaderText ="DTY", Width ="80", DefaultValue ="", HeaderTextAlign = Syncfusion.EJ2.Grids.TextAlign.Center, TextAlign = Syncfusion.EJ2.Grids.TextAlign.Right},
new Syncfusion.EJ2.Grids.GridColumn { Field ="STB_QTY" , HeaderText ="STB", Width ="80", DefaultValue ="", HeaderTextAlign = Syncfusion.EJ2.Grids.TextAlign.Center, TextAlign = Syncfusion.EJ2.Grids.TextAlign.Right}})">
</e-treegrid-column>
<e-treegrid-column headerText="FAN Q'TY" headerTextAlign="Center" textAlign="Center"
columns="@(new List<Syncfusion.EJ2.Grids.GridColumn>() {
new Syncfusion.EJ2.Grids.GridColumn { Field ="FAN_DTY_QTY" , HeaderText ="DTY", Width ="80", DefaultValue ="", HeaderTextAlign = Syncfusion.EJ2.Grids.TextAlign.Center, TextAlign = Syncfusion.EJ2.Grids.TextAlign.Right},
new Syncfusion.EJ2.Grids.GridColumn { Field ="FAN_STB_QTY" , HeaderText ="STB", Width ="80", DefaultValue ="", HeaderTextAlign = Syncfusion.EJ2.Grids.TextAlign.Center, TextAlign = Syncfusion.EJ2.Grids.TextAlign.Right}})">
</e-treegrid-column>
<e-treegrid-column field="SERVICE" headerText="SERVICE" width="180" headerTextAlign="Center" textAlign="Left" edit="@(new { create ="Serv_Create", read ="Serv_Read", destory ="Serv_Destory", write ="Serv_Write" })"></e-treegrid-column>
<e-treegrid-column field="ESP" headerText="E.S.P (pa) / HEAD (m)" width="80" defaultValue="@empty" headerTextAlign="Center" textAlign="Right"></e-treegrid-column>
<e-treegrid-column field="CHILLED_WATER" headerText="CHILLED WATER ΔT (°C)" width="70" defaultValue="@empty" headerTextAlign="Center" textAlign="Right"></e-treegrid-column>
<e-treegrid-column headerText="SYSTEM CAPACITY" headerTextAlign="Center" textAlign="Center"
columns="@(new List<Syncfusion.EJ2.Grids.GridColumn>() {
new Syncfusion.EJ2.Grids.GridColumn { Field ="S_AIR_FLRT" , HeaderText ="AIR FLOW RATE" , Width ="80", DefaultValue ="", HeaderTextAlign = Syncfusion.EJ2.Grids.TextAlign.Center, TextAlign = Syncfusion.EJ2.Grids.TextAlign.Right},
new Syncfusion.EJ2.Grids.GridColumn { Field ="S_COOLING_CAPA" , HeaderText ="COOLING CAPA" , Width ="80", DefaultValue ="", HeaderTextAlign = Syncfusion.EJ2.Grids.TextAlign.Center, TextAlign = Syncfusion.EJ2.Grids.TextAlign.Right},
new Syncfusion.EJ2.Grids.GridColumn { Field ="S_HEATING_CAPA" , HeaderText ="HEATING CAPA" , Width ="80", DefaultValue ="", HeaderTextAlign = Syncfusion.EJ2.Grids.TextAlign.Center, TextAlign = Syncfusion.EJ2.Grids.TextAlign.Right},
new Syncfusion.EJ2.Grids.GridColumn { Field ="S_HUMIDIFIER_CAPA" , HeaderText ="HUMIDIFIER CAPA" , Width ="90", DefaultValue ="", HeaderTextAlign = Syncfusion.EJ2.Grids.TextAlign.Center, TextAlign = Syncfusion.EJ2.Grids.TextAlign.Right},
new Syncfusion.EJ2.Grids.GridColumn { Field ="S_CW_FLAT" , HeaderText ="CW FLOW RATE" , Width ="80", DefaultValue ="", HeaderTextAlign = Syncfusion.EJ2.Grids.TextAlign.Center, TextAlign = Syncfusion.EJ2.Grids.TextAlign.Right},
new Syncfusion.EJ2.Grids.GridColumn { Field ="S_SS_COIL_LOAD" , HeaderText ="SENSIBLE COOLING LOAD", Width ="80", DefaultValue ="", HeaderTextAlign = Syncfusion.EJ2.Grids.TextAlign.Center, TextAlign = Syncfusion.EJ2.Grids.TextAlign.Right}})">
</e-treegrid-column>
<e-treegrid-column headerText="UNIT CAPACITY" headerTextAlign="Center" textAlign="Center"
columns="@(new List<Syncfusion.EJ2.Grids.GridColumn>() {
new Syncfusion.EJ2.Grids.GridColumn { Field ="U_AIR_FLRT" , HeaderText ="AIR FLOW RATE" , Width ="80", DefaultValue ="", HeaderTextAlign = Syncfusion.EJ2.Grids.TextAlign.Center, TextAlign = Syncfusion.EJ2.Grids.TextAlign.Right},
new Syncfusion.EJ2.Grids.GridColumn { Field ="U_COOLING_CAPA" , HeaderText ="COOLING CAPA" , Width ="80", DefaultValue ="", HeaderTextAlign = Syncfusion.EJ2.Grids.TextAlign.Center, TextAlign = Syncfusion.EJ2.Grids.TextAlign.Right},
new Syncfusion.EJ2.Grids.GridColumn { Field ="U_HEATING_CAPA" , HeaderText ="HEATING CAPA" , Width ="80", DefaultValue ="", HeaderTextAlign = Syncfusion.EJ2.Grids.TextAlign.Center, TextAlign = Syncfusion.EJ2.Grids.TextAlign.Right},
new Syncfusion.EJ2.Grids.GridColumn { Field ="U_HUMIDIFIER_CAPA" , HeaderText ="HUMIDIFIER CAPA" , Width ="90", DefaultValue ="", HeaderTextAlign = Syncfusion.EJ2.Grids.TextAlign.Center, TextAlign = Syncfusion.EJ2.Grids.TextAlign.Right},
new Syncfusion.EJ2.Grids.GridColumn { Field ="U_CW_FLAT" , HeaderText ="CW FLOW RATE" , Width ="80", DefaultValue ="", HeaderTextAlign = Syncfusion.EJ2.Grids.TextAlign.Center, TextAlign = Syncfusion.EJ2.Grids.TextAlign.Right},
new Syncfusion.EJ2.Grids.GridColumn { Field ="U_SS_COIL_LOAD" , HeaderText ="SENSIBLE COOLING LOAD", Width ="80", DefaultValue ="", HeaderTextAlign = Syncfusion.EJ2.Grids.TextAlign.Center, TextAlign = Syncfusion.EJ2.Grids.TextAlign.Right}})">
</e-treegrid-column>
<e-treegrid-column field="REMARK" headerText="REMARKS" width="120" defaultValue="@empty" headerTextAlign="Center" textAlign="Center"></e-treegrid-column>
<e-treegrid-column field="ENT_DB" visible="true" defaultValue="@empty"></e-treegrid-column>
<e-treegrid-column field="ENT_WB" visible="true" defaultValue="@empty"></e-treegrid-column>
<e-treegrid-column field="LEAV_DB" visible="true" defaultValue="@empty"></e-treegrid-column>
<e-treegrid-column field="LEAV_WB" visible="true" defaultValue="@empty"></e-treegrid-column>
<e-treegrid-column field="SA" visible="true" defaultValue="@empty"></e-treegrid-column>
<e-treegrid-column field="RA" visible="true" defaultValue="@empty"></e-treegrid-column>
<e-treegrid-column field="FA" visible="true" defaultValue="@empty"></e-treegrid-column>
<e-treegrid-column field="SENS_HEAT_LOSS" visible="true" defaultValue="@empty"></e-treegrid-column>
<e-treegrid-column field="RA_TMP" visible="true" defaultValue="@empty"></e-treegrid-column>
<e-treegrid-column field="MA_TMP" visible="true" defaultValue="@empty"></e-treegrid-column>
<e-treegrid-column field="DISCH_TMP" visible="true" defaultValue="@empty"></e-treegrid-column>
<e-treegrid-column field="RA_AH" visible="true" defaultValue="@empty"></e-treegrid-column>
<e-treegrid-column field="MA_AH" visible="true" defaultValue="@empty"></e-treegrid-column>
<e-treegrid-column field="MAX_ROOM_AH" visible="true" defaultValue="@empty"></e-treegrid-column>
<e-treegrid-column field="MAX_ROOM_TEMP" visible="true" defaultValue="@empty"></e-treegrid-column>
</e-treegrid-columns>
</ejs-treegrid>
I can't upload all the photos, so I'll add more photos.
Hi TaeWook Kang,
Thanks for contacting syncfusion forum.
Query1: the newpositionrow setting is child. ">" is automatically generated below in treegrid.
We are able to reproduce the issue at our end. And we need time to validate the issue(Expand icon is shown while new row position as child with batch edit ) and will update you with further details by 4th April 2022.
Query: when adding a child in the last row, an error occurs as shown below.
We checked your query by preparing sample, but we were unable to reproduce the issue at our end.
The provided information will be helpful to provide you response as early as possible.
Regards,
Pon selva
Hi TaeWook Kang,
Thanks for your patience.
Query1: the newpositionrow setting is child. ">" is automatically generated below in treegrid.
On further validation, we have confirmed it as a bug and logged the defect report “The expand/collapse icon appears when adding a record in batch editing with a child row position.” Thank you for taking the time to report this issue 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 will include the fix in our upcoming patch release which is expected to be rolled out on 20th April 2022. Until then we appreciate your patience.
Note: We will share the feedback link details of the bug by tomorrow (5th April 2022).
Regards,
Pon selva
Hi TaeWook Kang,
We appreciate your patience.
Query1: the newpositionrow setting is child. ">" is automatically generated below in treegrid.
Please find the feedback link below,
Note: To view the above feedback, kindly login into your account.
Query 2: when adding a child in the last row, an error occurs as shown below.
For the above query, kindly share the requested details to proceed further.
Regards,
Pon selva
Hi TaeWook,
Sorry for the inconvenience caused.
Due to unforeseen circumstances, we are unable to include the fix as promised in the current patch release. We would include the fix in the upcoming patch release which is scheduled to be rolled out in the lastweek of April 2022.
Until then we value your patience.
Regards,
Pon selva
Hi TaeWook Kang,
We appreciate your patience.
We are glad to announce that fix for the issue “The expand/collapse icon appears when adding a record in batch editing with a child row position.” has been rolled out in our patch release. We request you to update to our latest version "20.1.51".
Kindly get back to us for further assistance.
Regards,
Pon selva
Hello.
We have received the news of the patch you rolled out.
However, the error did not improve in the sub-row position I mentioned.
The problem also occurs when the NUGET version you are currently using is in the best condition of 20.1.52.
Please reply as soon as possible.
Please let me know if I misunderstood the NUGET to update.
Thank you always for your kind response.
IMAGE 1
Hi TaeWook,
Thanks for the update.
Query: However, the error did not improve in the sub-row position I mentioned.
We checked your issue (“The expand/collapse icon appears when adding a record in batch editing with a child row position”) by preparing sample with latest version(20.1.52).
We were unable to reproduce the issue at our end.
Please refer to the below sample,
https://www.syncfusion.com/downloads/support/directtrac/general/ze/coresample895650200
Please refer to the below screenshot,
Query: Please let me know if I misunderstood the NUGET to update.
Based on your screenshot, we understand you install the EJ2.SpreadSheet.AspNet.Core. We suggest you install the EJ2.AspNet.Core package in your application.
Please refer to the below screenshot,
Kindly get back to us for further assistance.
Regards,
Pon selva
Both EJ2.SpreadSheet.AspNet.Core and EJ2.AspNet.Core packages are installed in my application, is there a possibility of a problem caused by that?
I will attach the part where the problem occurs as a video. If the cause is still unknown after this, I will share all the sources of my application if you want.
Hi TaeWook Kang,
Thanks for the update.
Query: when adding a child in the last row, an error occurs as shown below.
We checked your query by preparing sample based on your video demo, but we were unable to reproduce the issue at our end.
https://www.syncfusion.com/downloads/support/directtrac/general/ze/coresample895650200-1318421798
The provided information will be helpful to provide you response as early as possible.
Regards,
Pon selva