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. Image for the cookie policy date

Grid data appearing as a strange list

I'm having trouble with binding a grid. It's happened with different data adaptors, currently I'm using RemoteSaveAdaptor. I pass the data to the grid, and it displays OK... however, editing doesn't work at all. When using EditMode.Dialog, I see the entire dataset at once in the dialog, with multiple save/cancel buttons:

http://screencast.com/t/Hzvm6JexDO

I've attached the sample project that was in the screenshot. the Crusts/Index view has the grid in it.

Attachment: SFGridTest1_b9868eb7.zip

3 Replies

MS Mani Sankar Durai Syncfusion Team November 14, 2016 08:32 AM UTC

Hi Brian,  
 
 
Thanks for contacting Syncfusion support, 
 
 
We are able to reproduce the problem at out end. The root cause of the problem is IsPrimaryKey is not mentioned for none of the Grid columns in the provided sample. We have already discussed about this in the following KB.  
 
 
Refer to the Help Documents and API Reference Section of the Grid.  
 
 
Also we have already documented about the necessity of isPrimaryKey property of columns in the Editing section of the below document link.  
  
 
Please let us know if you need further assistance. 
  
Regards,  
Manisankar Durai 



RB R Brian Lindahl November 14, 2016 03:03 PM UTC

Thank you. That worked perfectly.


MS Mani Sankar Durai Syncfusion Team November 15, 2016 08:57 AM UTC

Hi Brian, 

Thanks for your feedback. 

Please let us know if you need further assistance. 

Regards, 
Manisankar Durai. 


Loader.
Up arrow icon