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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

"AddNewRow" disappears after setting " GridVisualStyles = GridVisualStyles.Office2016Colorful "

Thread ID:

Created:

Updated:

Platform:

Replies:

141142 Nov 26,2018 05:22 PM UTC Nov 28,2018 04:04 AM UTC WinForms 3
loading
Tags: GridGroupingControl
gongsiyi
Asked On November 26, 2018 05:22 PM UTC

It is strange that when I set 
GridVisualStyles = GridVisualStyles.Office2016Colorful (or 2016Black, 2016White, 2016DarkGray)

the blank "AddNewRow" just disappears, even after I set "TopLevelGroupOptions.ShowAddNewRecordBeforeDetails = true"
Is it a Bug?
My syncfusion version is v16.3.0.21

Arulraj A [Syncfusion]
Replied On November 27, 2018 04:49 AM UTC

Hi Gongsiyi, 

Thanks for using Syncfusion products 

By default, TableDescriptor.AllowNew property value is set as true. If you set the GridVisualStyles as Office2016ColorFul theme, it will disable the AllowNew property to improve our GridGroupingControl look and feel. So, you need to manually enable the AllowNew property after the GridVisualstyles settings.  

this.gridGroupingControl1.GridVisualStyles = GridVisualStyles.Office2016Colorful;  
this.gridGroupingControl1.TableDescriptor.AllowNew = true;  
this.gridGroupingControl1.TopLevelGroupOptions.ShowAddNewRecordBeforeDetails = true;  

Please let us know if you need any further details on this. 

Regards, 
Arulraj A 


gongsiyi
Replied On November 27, 2018 11:21 PM UTC

Thank you very much!

Arulraj A [Syncfusion]
Replied On November 28, 2018 04:04 AM UTC

Hi Gongsiyi, 

Thanks for the update. 

We are glad to know that the reported problem has been resolved at your end. Please let us know if you have any further queries on this. We are happy to help you. 

Regards, 
Arulraj A 


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

;