Grid Issue in 18.3.0.42 - IndexOutOfRangeException


Hello

Just upgraded to 18.3.0.42.  I get the following error. Sample also attached (go to Persist Data on Menu)

Thank you



Attachment: GridIssue_65ca94f7.zip

3 Replies 1 reply marked as answer

RN Rahul Narayanasamy Syncfusion Team October 20, 2020 06:12 PM UTC

Hi Ditchford, 

Greetings from Syncfusion. 

Query: Grid Issue in 18.3.0.42 - IndexOutOfRangeException  

We have validated your query and we can able to reproduce the reported problem at our end. We have confirmed it as a bug and logged the defect report for the same “Exception throws while defining Custom toolbar items in Grid” . Thank you for taking the time to report this issue and helping us improve our product .Fix for the issue will be included in our weekly patch release which is expected to be rolled on or October 28, 2020, 2020. 
 
Based on your convenience we have fixed the problem and prepared a custom patch in the mentioned version(18.3.0.42). You can resolve this problem by using the below patch. 
  
Kindly download the patch from below    
   
   
Steps to apply the patch.   
  1. Download the custom patch into a folder.
  2. Clear the Nuget cache.
  3. Refer the custom Nuget into your application.
Kindly get back to us if you have further queries or if you are facing any difficulties in applying the above patch. 
 
Regards, 
Rahul 


Marked as answer

MK Michael K. Kærgaard October 21, 2020 06:11 PM UTC

Hi

Sorry to say, but this patch does not solve the issue with the Toolbar.

Please note when enabling the ItemModel you will get the IndexOutOfRangeException. (note the previous version also caused problems when using a template as I did in below code, but issue was solved by adding an Id="1" statement)




RN Rahul Narayanasamy Syncfusion Team October 22, 2020 04:42 PM UTC

Hi Michael, 

We have validated your query and checked the problem at our end. We have already an known issue before “Custom toolbar item(in template) not rendered in grid toolbar when we have not explicitly provided Id value to toolbar item”. But the issue was already included in our 18.3.0.40 version.  

We have checked the reported problem(defined toolbar item without explicitly defined an Id property) at our end. It works fine at our end. So could you please ensure the reported problem after clearing the NuGet and browser cache. 

Steps to apply the patch.    
  1. Download the custom patch into a folder.
  2. Clear the Nuget and browser cache.
  3. Refer the custom Nuget into your application.
Please get back to us if you need further assistance. 

Regards, 
Rahul 



Loader.
Up arrow icon