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

replacing mappingname in runtime

Hi I would like to change mapping name of one of the columns in GDBG. I tried to change the mapping name but only the header was changed. Adding Begin/End update, Begin/End init or Suspend/Resume binding did not help. What should I do ? 10x Asaf

2 Replies

AD Administrator Syncfusion Team August 30, 2004 01:30 AM UTC

I added a demo project with the problem >Hi >I would like to change mapping name of one of the columns in GDBG. > >I tried to change the mapping name but only the header was changed. Adding Begin/End update, Begin/End init or Suspend/Resume binding did not help. > >What should I do ? > >10x >Asaf > > > MappingNameSwitch_9995.zip


AD Administrator Syncfusion Team August 30, 2004 09:00 AM UTC

Try this. gridDataBoundGrid2.BeginUpdate(); gridBoundColumn2.MappingName = "a3"; gridDataBoundGrid2.Binder.InitializeColumns(); gridDataBoundGrid2.EndUpdate();

Loader.
Live Chat Icon For mobile
Up arrow icon