Hi
We are looking at the new 12.1 Aikido controls with a view to upgrading from the 10.3 Ultra controls.
We have a requirement for a grid which has in line editing, however, one row may have a cell that is editable which is not editable on another row.
I do know how to loop through the rows and cells of a grid but do not see any AllowEdit property or similar that was present in the 10.3 grid.
Is the above possible and if so, what would be the best way to loop through rows and cells (on the server side) and specify whether an individual cell can be edited or not?
In addition to the above, we also have button columns which we would want to hide the buttons on certain rowsand also set the background colour of individual cells.
This is all existing functionality in our product using the 10.3 UltraWebGrid and we need to be able to replicate that functionality in any new controls we implement in the future.
Many thanks in advance for any guidance you can give on this.
Hi mackie1,
Thank you for posting in the community.
Currently, the ability to set a particular row cell to be readonly is possible only on the client by handling the EnteringEditMode clientside event as described at:
http://community.infragistics.com/forums/p/37628/218193.aspx
As per your second requirement, showing buttons in only some cells of a column is possible by using a TemplatedColumn and setting the Visibility of the templated controls as need on InitializeRow. I am attaching a sample illustrating such a scenario.
Please feel free to contact me if you have any questions.
Please do not hesitate to contact me if you have any questions regarding this matter.