Hi,
I want to make one row of my gird readonly & fixed ,whereas other new rows can be added by the user through the AddNewRow button but the fixed row is not affected by the editing. It may remain on top of the grid or at the bottom of the grid just like the summaries row is fixed at the bottom of the grid.
The values of the row may change on some event for example ComboSelectionChanged event would cause the values in that fixed row of gird to be changed but that would be done programmatically & not by the user directly.
In simpler words I want to do the following:
1) Fix(freeze) one ReadOnly row of the grid at the top or bottom of the grid (On grid's initialization the grid is empty therefore there would be only 1 fixed row in the grid)
2) Programmatically change contents of the fixed/readonly row on some other event.
3) New rows can be added by the user, but the fixed row will remain at its place.
There is a feature of ColumnFixing in the API Refernce, but I want to fix a particular row (all its columns) while other new rows are not fixed).
How could I do that ? Any help would be appreciated. A short sample would help. Thanks.
Hello zep,
Thank you for contacting Infragistics community.
The igGrid does not provide functionality to fix a particular row. Currently this is available only for the columns. However regarding your other requirement, you can make the cells in a particular row readonly by handling editRowStarting event and check by desired row id and cancel the event. About the row fixing you can suggest this as product idea at:
http://ideas.infragistics.com
Steps to create your idea: 1. Log into the Infragistics Product Idea site at http://ideas.infragistics.com (creating a new login if needed).2. Navigate to the product / platform channel of your choice (e.g. WPF, Windows Forms, ASP.NET, HTML5 / Ignite UI, iOS / NucliOS, etc.)3. Add your product idea and be sure to be specific and provide as much detail as possible. Explain the context in which a feature would be used, why it is needed, why it can’t be accomplished today, and who would benefit from it. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it. Be convincing!
The Product Idea site puts you in the driver’s seat and allows you to track the progress of your ideas at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.
Please let me know if I can provide further assistance.
Regards,
Tsanna