Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Build JavaScript UI
Javascript
Telerik
Build modern .NET business apps
.Net Web
Cross-Platform
Desktop
Reporting and Documents
AI for Developers & IT
Ensure AI program success
AI Coding
AI Engineering
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
Debugging
AI-Enhanced UI Tools
CMS
Free Tools
Support and Learning
Productivity and Design Tools
How can I hide the lines between the rows? (I use Office2019 theme)
I already tried this:
private void RadGridView_CellFormatting(object sender, CellFormattingEventArgs e) { e.CellElement.DrawBorder = false; }
Gridlines are gone but the horizontal lines are still there.
Hi, Michael,
In the Office2019Light theme, you should set RowElement.DrawBorder property to false as well in the CellFormatting event:
private void RadGridView1_CellFormatting(object sender, CellFormattingEventArgs e) { if (e.CellElement != null) { e.CellElement.DrawBorder = false; e.CellElement.RowElement.DrawBorder = false; } else { e.CellElement.ResetValue(LightVisualElement.DrawBorderProperty, ValueResetFlags.Local); e.CellElement.RowElement.ResetValue(LightVisualElement.DrawBorderProperty, ValueResetFlags.Local); } }
I hope this helps. Should you have any other questions do not hesitate to ask.
Regards, Nadya Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
Thank you very much, with this I get the desired result!
For me the question is perfectly answered.