Hello everyone
UltraGridCellProxy on ultragridrowEditTemplate to edit a row but it shows me the data but won't let me to change the data in the cell and then at the database level.
I am able to do so using a separate control and by adding a bindingsource like :
Me.UltraCheckEditor1.DataBindings.Add("checkedValue", Me.resCenterSchedule, "Active"). resCenterSchedule is ultragridrowEditTemplate.
My second question is I have created a user control that contains cell proxies. I originally put this user control on the ultragridrowEditTemplate to edit the grid data. I thought this might have caused the problem. However, the probelm is still exists after i put a cellproxy directly on the ultragridrowEditTemplate.
Any help is appreciated!
The proxies should be behaving exactly as the cells in the grid would without the RowEditTemplate attached. So, for example, you might have a property set on the column (or grid) that prevents a cell from entering edit mode, or you could be cancelling the BeforeEnterEditMode event. If you could provide more information, or post a small sample project, I can look into it and see if I can suggest something.
-Matt
Hi Matt,
To simply put it, I have a grid where the following properties are changed from the default.
Updating: Allow Row deleting, Allow Row Updating
ExitEditModeOnLeave is set to true
CellClickAction is EditAndSelectText
rowselectors set to false
The updateMode is OnRowChangeOrLostFocus
Like i said in my first post, I have a user control which contains cell proxies where their columnkey is set to each column from the grid. Actually i can see the data from the selected grid on the template but it has a kind of readonly behavior. I can't change anything. There is not that much code written in the code editor. There was this events beforeRowDelete and beforeRowUpdate written but i commented out them but the problem still there.
thank you
I just tried this out in a new project, setting the properties that you specified, and I couldn't reproduce the issue. I have attached the sample in question; if you could modify it to reproduce your behavior, I can see what's causing it. If my sample doesn't work on your machine, it's possible that something was fixed in a more recent version, so you should download the latest hotfix.
As I mentioned, it sounds like something is preventing the grid cell from entering edit mode, or the CellActivation is set to something that doesn't allow editing.
Thank you matt
I ran your code, it works. You are using infrgistics v 9.1. I have 8.2 v but it didn't create any problem. I put cell proxies on the template and be able to edit the cell values. I think you are correct, there must be something that is preventing the grid to be editable. One thing i noticed is that when i commented out the template assignment in my soultion and yours, the following happens. In your case the grid becomes editable directly but not in my case. I have looked closely and didn't find anything that created this thing.
Thank you
As I mentioned, it's very difficult to say what the problem could be without seeing how you're setting up your grid, since I couldn't reproduce the problem. The only properties that come to mind are CellActivation, AllowUpdate, and perhaps something on your underlying data source that might say if a column is readonly. If you can't post a sample online here, you might want to consider submitting one to Developer Support.