Unable to Find Column Defination in EditTemplate

Hello Team,


I have implemented editTemplate in batch edit mode everything goes fine but unable to access column definition inside editTemplate while using it through ViewChild and assigning through the typescript. In below example not able to find data.colum.field, it can be easily available in column.template mode.


@ViewChild('templateEditDropDown', { static: false }) public templateEditDropDownNgModel;
NewColumn.template = templateEditDropDown;


HTML

< ng-template #templateEditDropDown let-data>
     [control]="data[data.column.field+'_ControlSetting']" [columnName]="data.column.field"
        [rowData]="data" [labelcol]="2" [labelvisibility]="false" [inputcol]="8">
    < / ng-template >

6 Replies 1 reply marked as answer

RS Rajapandiyan Settu Syncfusion Team September 4, 2020 03:20 AM UTC

Hi Deepak, 
 
Currently we are validating your query with our development team and we will update the further details by today Sep 4th,2020. 
 
Until then, we appreciate your patience. 
 
Regards, 
Rajapandiyan S 



RS Rajapandiyan Settu Syncfusion Team September 4, 2020 10:28 AM UTC

Hi Deepak, 

Thanks for your patience. 
 
We can reproduce the reported behavior at our end and we have confirmed this is an issue from our side and logged a bug for the same as “column and rowIndex details are not available inside the editTemplate”. At Syncfusion, we are committed to fixing all validated defects (subject to technical feasibility and Product Development Life Cycle ) and will include the defect fix in our upcoming patch release Sep 16th, 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.  


Regards, 
Rajapandiyan S


DJ Deepak Jain September 7, 2020 06:04 AM UTC

Hi Rajapandiyan, 

Thanks waiting postively 


PG Praveenkumar Gajendiran Syncfusion Team September 8, 2020 11:08 AM UTC

Hi Deepak,


you are welcome. We will let you know once the fix is available.

Until then, we appreciate your patience.

Regards,
Praveenkumar G 



DJ Deepak Jain September 18, 2020 05:25 AM UTC

Hello Team,

Is there any update on this, 


PG Praveenkumar Gajendiran Syncfusion Team September 21, 2020 01:00 PM UTC

Hi Deepak, 

Thanks for your patience. 
 
We are glad to announce that our Essential Javascript2 patch release (v18.2.58) has been rolled out successfully and in that release we have added the fix for column and rowIndex details are not available inside the editTemplate issue . So please update your package to this version to include the fix. 


We suggest you to use the below code example to achieve your requirement. We have also shared a sample for your reference.

Please check the below code example and sample for more information.

Code Snippet: 

<ng-template #editTemplate let-data> 
       <input name={{data.column.field}} value={{data.Freight}}> 
</ng-template> 



We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require further assistance. 
 
Regards,            
Praveenkumar G 


Marked as answer
Loader.
Up arrow icon