I have only one column in my UltraGrid. I need to set the width of the column to the width of the grid and when i strecth the window containing the grid horizontally, the grid along with the column shouls also strecth accordingly.
Please let me know how to achieve this.
Hello,
Could you please review the sample attached to this post and see if it meets your requirements. If it does not please modify it and if possible return it back to me in your next post.
Please feel free to let me know if I misunderstood you or if you have any other questions.
Hi Boris, Thanks for the reply. I need to disable my header in the grid. I want to see only the rows as i have only one column. how to do this?
Hi Boris, i have another question on the same. Below is the screenshot of my control. I am not able to perform operation on my user contol inside the cell of the grid. I am able to select the cell but not able click on the arrow button. please let me know how to do this.
It will be easier for me if you could attach a small sample project reproducing this. However I have one thought on this - the issue might be because you have set the your control as a 'RenderingControl' in the 'UltraControlContainerEditor'. If you want to not only see this control but to be able to click on it and use it you have to set it as an 'EditingControl'.
Please let me know if this works for you.
Can we set the same instance of user control as RenderingControl and EditingControl or do we need to have separate instances of the usercontrol
I believe that the sample from the following thread will give you the idea how to do this: http://forums.infragistics.com/forums/t/63689.aspx.
When you run this project you will see the right-top sample which is called 'Same EditingControl and RenderingControl'.
Please do not hesitate to contact me if you need any additional assistance.
Hi Boris, attached is the sample project to describe my requirements.
Requirement1: I need to have only one row inside the grid initially and on click of it, a new row with user control should automatically get added. Currently, i am adding 3 rows by default.
Requirement2: When i click on the button in second row, the text in first row is lost.
Requirement3: When i click on OK button on the form, i need to store all the texts inside each row to an array list.
I just wanted to know if you were able to solve your issue based on these suggestions or you still need help? Please let me know.
Could you please review the sample attached to this post and see if it meets your requirements. Please feel free to let me know if I misunderstood you or if you have any other questions.
Hi Boris, previously attached(TestUltraGrid.zip) is the sample project to describe my requirements and issues.
Requirement1: I need to have only one row inside the grid initially and on click of it, a new row with user control should automatically get added. User can add as many rows as he wants. Temporarily, i have added 3 rows by default for the time being.
Requirement2: When i click on OK button on the form, i need to store all the texts inside each row to an array list.
Issue1: I click on the button in first row. Text gets displayed in 1st row. Now, when i click on the button in second row, the text in first row is lost. Need to fix this.
Please reply with your suggestions and findings. Thanks.