Hi,
I am using a CreationFilter to display a CheckBox on every UltraGridRow. I am unable to position it in such a way that the whole checkBox is visible.
Please see screenshot of the issue. Any help is appreciated.
Thanks
Sangeetha
Sorry... my previous post displays the wrong screenshot. The below is the right one.
Hi Sangeetha,
May I suggest using an unbounded column that you insert as the first one in each bound, you can also hide the row selector and you will end up with the same result (i.e. a checkbox at the beginning of each row) The solution I’m proposing will simplify your code since you don’t have to deal with the creation filter. You also don’t have to worry about saving the check status of each row somewhere, it wil be stored as the cell value for the inserted column.
I put together a small sample to show how to achieve this. Please take a look and let me know how this work for your case. If for some reason this approach does not work for your case, please send me the code you are using in the creation filter and I’ll be glad to take a look and figure out the reason for the drawing problem
Regards,
Ammar Zuriki
Senior Manager
NetAdvantage for Windows Forms
NUCLiOS – INFRAGISTICS iOS controls
TestAdvantage for Windows Forms, HP, IBM
TestAdvantage for WPF (HP)
Hi Ammar,
Thank You for your reply.
The reason I do not want to add an unbound bool column to grid for this purpose is because my datasource is hierarchical and has several levels and using an unbound column makes it look ugly and the column takes too much room at the higher levels.
Creation Filter CheckBoxes look perfect for my usage. I have altered your project to displaymu creation filter.
Thank you for your help.
I have updated your sample (attached), I simply turned on the row selector and created the checkbox UI element inside it. it aseems to be working as you want.
Please take a look at let me know if this solution works as you expected.
Ammar
Thank You Ammar. That works perfectly.
Sangeetha,
I'm glad that the solution worked out for your case. Do you have any further questions, if not, may I close this case?