e-columns not working

Hi,


In Grid, Data which are coming from database populated in Grid as its.
I am not able to manipulate columns.

here is my HTML code:-

  <ejs-grid #overviewgrid id='overviewgrid' [dataSource]='lstRoles' rowHeight='38' [allowSelection]='true'
              [allowSorting]='true' height='600' [enableHover]='false'
              [selectionSettings]='selectionSettings' [filterSettings]='filterSettings'
              [allowFiltering]='true' [enableVirtualization]='true' width="1000px">
      <e-columns>
        <e-column field='RoleName' headerText='Mail' [filter]='filterSettings' width='230'></e-column>

      </e-columns>
    </ejs-grid>`

3 Replies

SK Sujith Kumar Rajkumar Syncfusion Team March 2, 2020 10:14 AM UTC

Hi Namita, 

Greetings from Syncfusion support. 

Based on your query and provided information we are able to understand that the problem you are facing is that the Grid is not considering the defined columns but populating all the columns that are present in the assigned data. This problem occurs if duplicate packages are generated in the node modules folder. The following command can be used for removing duplicate packages, 

npm dedupe 

If you are using old Syncfusion packages we also suggest you to update them to the latest version. More details on this can be found in the following documentation, 


Let us know if you have any concerns. 

Regards, 
Sujith R 



NA Namita March 3, 2020 10:28 AM UTC

Tried all these including update of latest version but problem still persist.
e-column are not working, it is taking all field that are mentioned in data source. 


SK Sujith Kumar Rajkumar Syncfusion Team March 4, 2020 07:17 AM UTC

Hi Namita, 

We have created a new incident under your Direct trac account to follow up with this query. We suggest you to follow up with the incident for further updates. Please log in using the below link, 
  

Let us know if you have any concerns. 

Regards, 
Sujith R 


Loader.
Up arrow icon