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?
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.
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.
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.
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.