Hi,
I am not able change the style of Groups in Ultrawingrid using appstylist. Please suggest me the way to changes the Groups headers style also along with Columns hearders style.
Thanks and Regards,Rosy Malhotra
Hi Rosy,
What do you mean by Style? Are you talking about some specific property? Or are you using style in a more general sense to mean that you want to change the colors or fonts of the headers?
Style means, through apptylist we can change the look and feel of the ultragid, i have created a style library for ultrgird in my application. In my application ultragid has hirarchical data in the form of groups and columns. Through appstylist library i am able to change the style (look and feel) of the columns and rows of the grid, but appstlist is not changing the look and feel of the headers (Groups) in the grid. Please tell me how we can change the style of Groups as well.
You would have to apply some styling to the Group Header UI Role within your ISL file.
I'm not sure if the Grid canvas in AppStylist has any groups on it by default. There may be an option on that canvas to turn on groups. If so, then you can style it there. If not, then another way to edit your Isl file would be to use the AppStylistRunTime component. What you do is you put this component on your form and launch the AppStylist run-time in code. Then you will get a UI interface for appstylist very similar to the one in the AppStylist application. This allows you to style your real application rather than relying on the canvases in AppStylist.
A lot of the samples included in the NetAdvantage SDK do this when you have CAPS LOCK on and you run the sample in DEBUG mode. This is how the Infragistics Visual Design group styles our own samples. So you may want to check out the samples as an example of how it's done.