How to hide CurrentFocusRow

Hi,
after updating to the latest version I sometimes see dashed rectangle around selected row in the grid (see attached screenshot). Seems that it only shows up when row is selected programmatically. How can I hide it?

Thanks
Ondřej

Attachment: 20200714_17_03_35Window_ebde7f63.zip

6 Replies 1 reply marked as answer

SS Susmitha Sundar Syncfusion Team July 15, 2020 11:41 AM UTC

Hi Ondrej, 
 
Thank you for using Syncfusion controls. 
 
We need some information about your reported scenario “Dashed rectangle around selected row in the grid”. Can you please provide the below details? 
 
  1. Please provide your Syncfusion old version and latest version
  2. How you programmatically select the records(Code snippet)?
  3. Which SelectionMode you are setting for SfDataGrid?
  4. Did you customize the SfDataGrid based on selection?
 
It will be helpful for us to check on it and provide you the solution at the earliest.   
 
Regards, 
Susmitha S 



OS Ondrej Svoboda July 15, 2020 01:32 PM UTC

Hi,
required info:
  1. old version 18.1.0.59, new version 18.2.0.44
  2. I use binding, e.g.:
    ItemsSource="{Binding Works}"
    SelectedItem="{Binding SelectedWork}"

    then in view model just: SelectedWork = XYZ;
  3. SelectionMode="Single", but the same happens also when Extended is set
  4. No selection customizations
Regards
Ondřej


VS Vijayarasan Sivanandham Syncfusion Team July 16, 2020 03:32 PM UTC

Hi Ondrej Svoboda,

Thanks for the update.

We have created bug report for the reported issue “CurrentRow is highlighted when set the SelectedItem while loading the DataGrid in Single and Extended SelectionMode”. We will fix this issue and provide you with patch on July 21, 2020.

You can track the status of this report through the following feedback link,

Feedback link:
https://www.syncfusion.com/feedback/16162/currentrow-is-highlighted-when-set-a-selecteditem-in-loading-the-datagrid-in

Note: The provider feedback link is private, and you need to login to view this feedback.

We appreciate your patience until then.

Regards,
Vijayarasan S
 



VS Vijayarasan Sivanandham Syncfusion Team July 21, 2020 05:41 PM UTC

Hi Ondrej Svoboda, 
 
Thank you for your patience. 
 
We have fixed the issue “CurrentRow is highlighted when set the SelectedItem while loading the DataGrid in Single and Extended SelectionMode” and fixed the issue. You can download the patch from following location.  
  v18.2.0.44 
Recommended approach – exe will perform automatic configuration       
Please find the patch setup here:   

 
http://syncfusion.com/Installs/support/patch/18.2.0.44/967282/F156048/SyncfusionPatch_18.2.0.44_967282_7212020011339735_F156048.exe

Advanced approach – use only if you have specific needs and can directly replace existing assemblies for your build environment                       
 
Please find the patch assemblies alone from: 

 
  
Assembly Version: 18.2.0.44 
Installation Directions:  
This patch should replace the files “Syncfusion.SfGrid.WPF” under the following folder.  
$system drive:\ Files\Syncfusion\Essential Studio\$Version # \precompiledassemblies\$Version#\4.0  
Eg : $system drive:\Program Files\Syncfusion\Essential Studio\18.2.0.44\precompiledassemblies\18.2.0.44\4.0  
   
To automatically run the Assembly Manager, please check the Run assembly manager checkbox option while installing the patch. If this option is unchecked, the patch will replace the assemblies in precompiled assemblies’ folder only. Then, you will have to manually copy and paste them to the preferred location, or you will have to run the Syncfusion Assembly Manager application (available from the Syncfusion Dashboard, installed as a shortcut in the Application menu) to re-install assemblies. 

FeedBack Link:
https://www.syncfusion.com/feedback/16162/currentrow-is-highlighted-when-set-a-selecteditem-in-loading-the-datagrid-in 
   
Note:  
To change how you receive bug fixes, ask your license management portal admin to change your project’s patch delivery mode.  
   
   
Disclaimer:  
If you have received other patches for the same version for other products, please apply all patches in the order received. Please note that we have created this patch for version 18.2.0.44 specifically to resolve the following issue reported in the forum 156048. 
 
Regards, 
Vijayarasan S 


Marked as answer

OS Ondrej Svoboda July 22, 2020 07:52 AM UTC

Hi,
it seems that the fix has been already released in 18.2.0.46. At least I don't see the issue there.

Thanks!


VS Vijayarasan Sivanandham Syncfusion Team July 23, 2020 01:37 PM UTC

Hi Ondrej Svoboda,

Thanks for the update.

We are glad to know that the reported issue has been resolved. Please get back to us if you have any other queries. As always, we will happy to assist you
😊

Regards,
Vijayarasan S



Loader.
Up arrow icon