Hi I was wondering how to change the position of the +/- column in igHirerachicalgrid from the leftside corner of the grid(like showed in all the examples) to the any where in the grid say, if I have 5 columns in the grid, may be after column#2? that means, I will have my grid starting from column#1,column#2, +/-,column#3,column#4 ....
You help is much appreciated.
Okay, let me know when you try the approach that Petko provided.
Hi Zdravko,
Thanks for the help. I still did not implement it as I am having other challenges in the grid while in edit mode.
Hello Raghavendra,
If you have any concerns or questions, please feel free to contact us again, we will be glad to help you.
Hi Raghavendra,
Thank you for posting in our forums! Currently we do not have this functionality build in our Hierarchical Grid. You can suggest a new product idea for future versions at http://ideas.infragistics.com.
Steps to create your idea:
1. Log into the Infragistics Product Ideas 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 benefits of submitting the product idea yourself include:
- Direct communication with our product management team regarding your product idea.
- Notifications whenever new information regarding your idea becomes available.
Additional benefits of the product idea system include:
- Ability to vote on your favorite product ideas to let us know which ones are the most important to you. You will have ten votes for this and can change which ideas you are voting for at any time.
- Allow you to shape the future of our products by requesting new controls and products altogether.
- You and other developers can discuss existing product ideas with members of our Product Management team.
The product ideas site 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.
For now I can offer you a workaround using the unbound columns of the grid. The first thing you have to do is to set expandColWidth option to 1 in order to hide the original expand column (I’m not setting 0 to the option to keep the border on the left side of the grid). After that you define an unbound column with template that match the DOM structure of the +/- buttons. Then handle the cellClick event and expand and collapse the rows programmatically. I prepared a sample page that demonstrates the workaround. Please let me know if you have any further questions!
I hope this helps!
Kind regards, Petko Zhekov Senior Software Engineer