hi All,
i'm new in Infragistic tools and i don't understand how to design ultra win grid like attached file.
Data is cuming from Stored Procedure and i m using vb.net for this,.
please help me and reply me as soon as possible.
Thanks in Advance
Hello ,
What you could is try the following code after your "Status" value has been changed:
if (Status == 2) { ultraGrid1.DisplayLayout.Bands[0].Columns[col6].Hidden = false; ultraGrid1.DisplayLayout.Bands[0].Columns[col7].Hidden = true; ultraGrid1.DisplayLayout.Bands[0].Columns[col8].Hidden = true; } if (Status == 3) { ultraGrid1.DisplayLayout.Bands[0].Columns[col6].Hidden = true; ultraGrid1.DisplayLayout.Bands[0].Columns[col7].Hidden = false; ultraGrid1.DisplayLayout.Bands[0].Columns[col8].Hidden = true; } if (Status == 4) { ultraGrid1.DisplayLayout.Bands[0].Columns[col6].Hidden = true; ultraGrid1.DisplayLayout.Bands[0].Columns[col7].Hidden = true; ultraGrid1.DisplayLayout.Bands[0].Columns[col8].Hidden = false; }
Hello,
Assuming that your are changing the "Status" value you could do something like the following right after this value has been changed:
Hi,
i found this property and i changed it, now it is working.
tell me how to hide column of grid at run time based on some conditions..........?
Suppose Layout is like That:-
|col1||col2||col3||col4||col5|
______________________
col6
col7
col8
_______________________
Condition:-
if(Status==2)
Show:- col6
Hide:- col7 and col8
if(Status==3)
Show:- col7
Hide:- col6 and col8
if(Status==4)
Show:- col8
Hide:- col6 and col7
Please reply as soon as possible
These properties were added recently, so I am sure they do not exist in v6.3. Try this:
FAQ:How do I turn off the ActiveRowAppearance so that the active row in the grid does not appear selected.
This code is not working for me i m working on vb.net and using 6.3 version of infragistic.
Actually i've changed some property and i dont know which one i've changed.