Cannot read properties of undefined (reading 'uid')[refreshFilteredColsUid]

Hi Team Syncfusion !!!

I cannot load the data list when using E2J. You can check to help me, thanks.


  <ejs-grid id="workpacks-grid" load="gridLoad" dataBound="gridDataBound" class="fx-grid" actionFailure="actionFailure"

                      recordClick="gridRecordClick" rowSelecting="gridRowSelecting" rowSelected="gridRowSelected" actionComplete="gridActionComplete"

                      showColumnMenu="true" showColumnChooser="true"

                      allowPaging="true" allowSorting="true" allowFiltering="true" allowResizing="true" allowSelection="true" allowReordering="true" allowExcelExport="true"

                      enablePersistence="true">

                <e-grid-pagesettings pageSize="@Model.PageSize" pageSizes="@(Model.GetAvailablePageSizes())"></e-grid-pagesettings>

                <e-grid-filterSettings type="Menu" columns="defaultFilterColumns"></e-grid-filterSettings>

                <e-grid-selectionsettings persistSelection="false" checkboxOnly="false" type="Multiple"></e-grid-selectionsettings>

                <e-data-manager url="@Url.Action("WorkpacksGrid", "Workpack")" adaptor="UrlAdaptor"></e-data-manager>

                <e-grid-searchsettings></e-grid-searchsettings>                

                <e-grid-columns>

                    <e-grid-column type="checkbox" width="30"></e-grid-column>                    

                    <e-grid-column field="UNID" headerText="UNID" type="string" isPrimaryKey="true" width=80 visible="false"></e-grid-column>

                    <e-grid-column field="Name" headerText="Name" type="string"></e-grid-column>  

                    <e-grid-column field="Status" headerText="Status" type="string" width=80 visible="false"></e-grid-column> 

                    <e-grid-column field="ProjectName" headerText="ProjectName")" type="string"></e-grid-column>             

                    <e-grid-column field="StartDate" headerText="StartDate" type="datetime" format="MMM dd yyyy"></e-grid-column>            

                    <e-grid-column field="EndDate" headerText="EndDate" type="datetime" format="MMM dd yyyy"></e-grid-column>

                    <e-grid-column field="CreatedBy" headerText="CreatedBy" type="string"></e-grid-column>

                    <e-grid-column field="CreatedOnUtc" headerText="CreatedOnUtc" type="datetime" format="MMM dd yyyy"></e-grid-column>

                    <e-grid-column field="Progress" headerText="Progress" type="string"></e-grid-column>

                </e-grid-columns>

            </ejs-grid>





1 Reply

PS Pavithra Subramaniyam Syncfusion Team September 20, 2022 06:39 AM UTC

Hi Nhan,


Thanks for contacting Syncfusion support.


We have tried to reproduce the reported script error with the given code, but the sample is working fine on our side. Please refer to the below code example for more information.


To validate further, please share the below details that will be helpful for us to provide a better solution as early as possible.


  1. Share the Syncfusion package version
  2. Is there any customization inside the “load”, “dataBound” and “actionBegin” event handlers
  3. Share an issue reproducible sample if possible.
  4. Or try to reproduce the issue in the given sample


Regards,

Pavithra S


Attachment: GridFilter_44ca28bd.zip

Loader.
Up arrow icon