We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Showing a column doesn't show the data for that column

Thread ID:

Created:

Updated:

Platform:

Replies:

150669 Jan 15,2020 02:19 PM UTC Jan 21,2020 01:29 PM UTC Blazor 2
loading
Tags: TreeGrid
Scott Peal
Asked On January 15, 2020 02:23 PM UTC

When a column is hidden initially, then the user chooses to show the column using the column picker the data for that column is not shown. The column header and filter boxes appear, however, the data in the row doesn't appear, nor shift to the right in my example below. 

What I am trying to achieve is to hide the Id and ParentId columns on initial load but let the user opt to show them later. Also to have them included in the export files. Note, my PK and FK fields are GUIDs.

Thanks for the help...Scott

< EjsTreeGrid @ref="Grid" DataSource="@TreeData" IdMapping="OrgUnitId" ParentIdMapping="ParentOrgUnitId" TreeColumnIndex="3"
             AllowPaging="true" AllowExcelExport="true" AllowFiltering="true" AllowMultiSorting="true" AllowPdfExport="true"
             AllowReordering="true" AllowResizing="true" AllowRowDragAndDrop="true" AllowSorting="true" AutoCheckHierarchy="true"
             EnableAltRow="true" EnableCollapseAll="true" EnableHover="true" ShowColumnMenu="true">
    < TreeGridPageSettings PageSizeMode="PageSizeMode.Root" PageSize="50">
    < TreeGridEditSettings AllowEditing="true" />
    < TreeGridColumns>
        < TreeGridColumn Field="Id" HeaderText="Id" Width="100" IsPrimaryKey="true" Visible="false" AllowEditing="false">
        < TreeGridColumn Field="ParentId" HeaderText="ParentId" Width="100" Visible="false" AllowEditing="false">
        < TreeGridColumn Field="Code" HeaderText="Code" Width="20">
        < TreeGridColumn Field="Name" HeaderText="Name" Width="40">
    < /TreeGridColumns>
< /EjsTreeGrid>

Scott Peal
Replied On January 15, 2020 02:24 PM UTC

In addition, if the user chooses to hide a column that was initially visible, the table appears messed up also.

Thanks again

Padmavathy Kamalanathan [Syncfusion]
Replied On January 21, 2020 01:29 PM UTC

Hi Scott, 

Thanks for contacting Syncfusion Forums. 

We have confirmed that the reported issue is an issue in Grid. We have logged a defect report for the same “Misalignement issue while hide / showing a column”.  
 
Fix for the issue will be included in our next Bi-Weekly release which is expected to be rolled out on or before 12th February 2020. 
 
You can track the current status of your request, review the resolution timeline and contact us for any further inquiries through this link 
 
Disclaimer: The feedback link is in review state and you can check it once it is validated 
  
Note: To view the above feedback, kindly login into your account. 
 
Please let us know if you have any concern.  

Regards, 
Padmavathy Kamalanathan 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon