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

How to get the CurrentCell of a SFDataGrid

Thread ID:





109747 Jul 2,2013 11:12 AM UTC Jul 3,2013 10:54 AM UTC Metro Studio 1
Tags: Metro Studio
Asked On July 2, 2013 11:12 AM UTC

Hello Syncfusion team!

How can i get the actual GridCell that a user has clicked in my winrt SfDataGrid? I want to change the style of exactly this cell (not the whole row or column).

Thanks in advance,

Riyaj Ahamed I [Syncfusion]
Replied On July 3, 2013 10:54 AM UTC

Hi Martin,

Thanks for contacting Syncfusion support.

We have analyzed your query .You can acheive this requirement by applying custom style for the GridCell. By editing the "PART_CurrentCellBorder" part of GridCell style, you can apply style for current cell. We have created simple sample to acheive this requirment, which can be downloaded under following location,

Sample: http://files2.syncfusion.com/dtsupport/directtrac/110164/CustomSample-1595148795.zip

Note: In this sample we have modified the background color of current cell.

Please let us know if you need further assistance.

Riyaj Ahamed I


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

or the page will be automatically redirected to 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