Hi,
I am new to infragistic world. I have few ultrawebgrid which are placed inside a update panel. Upon a postback, these controls are loosing its formarttings whatever given. I could see some discussions that its due to that the gridviews are inside the update panel and suggested to use WARP.
My question here is that is there any javascript function which can be used to set the styles of the controls ? I could see infragistic functions like - igtbl_ClearSelectionAll, igtbl_UpdatePostField etc. Where can I see the list of all functions ?
Could anyone help me out on this please?
Thanks in advance,Rony
Hello Rony,
I know it has been a while since you post, in case you are still in need of assistance I would be glad to help. This answer may also prove beneficial to other community members.
You could define the styles of the ultrawebgrid in the clientside by handling initializelayout event, for instance: to change the color of the webgrid’s scrollbar, please use the following code
function UltraWebGrid1_InitializeLayoutHandler(gridName){
var grid = igtbl_getGridById(gridName);
var gridElement = grid.getDivElement();
gridElement.style.scrollbarBaseColor = "blue";
}
To know the list of all client side events of ultrawebgrid, please refer to the following link
http://help.infragistics.com/NetAdvantage/ASPNET/Current/CLR4.0/?page=WebGrid_Client_Side_Events_CSOM.html
To know more about all the utility functions of webgrid, please refer to the following link
http://help.infragistics.com/NetAdvantage/ASPNET/Current/CLR4.0/?page=WebGrid_Utility_Functions_CSOM.html
Please let me know if you have any further questions regarding this matter.