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
Hi Sangeetha,
The issue with the pin button seemed to be caused by the sizing of the textUIElement, basically the code was expanding the TextUI Element and as a result the pin button was going under the text element so it became not clickable (the only reason it shows up was because the text UI background was transparent)
I fixed the filter in the attached sample and also added a button to show 1000 row to verify that the number are visible. If you want to turn off the active row indicator image (the black triangle indicating the active row) you can just set:
ultraGrid1.DisplayLayout.RowSelectorImages.ActiveRowImage = null;
Please take a look and let me know what do you think.
Regards
Ammar Zuriki
Hi Ammar,
Modified your sample to show the problem. Please see attached zip.
Sangeetha,
pinning rows seems to be working fine in the sample application I sent, I just had to turn on the feature so the button will show up and I was able to pin/unpin rows:
I just added this to Form_Load event handler:
ultraGrid1.DisplayLayout.Override.FixedRowIndicator = Infragistics.Win.UltraWinGrid.FixedRowIndicator.Button;
ultraGrid1.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.VisibleIndex;
If this is not working on your end please update the sample app and send it back.
Regards,
Ammar
Ammar,
Also when CreationFilter is implemented, RowPin although visible, does not respond to user click and pin the row.
I had no problem positioning the TextUIElement. Howvever, I noticed that this TextUIElement also has to be set a certain width, enouigh to accomodate the Row Number length. If there were large number of rows then the numbers beyond 99 seemed to be cut off. So I used the parent.Band.RowSelectorWidthResolved roperty to set the TEXTUIElement's width and it seems to work fine.
Can you please confirm that this is right property to use?