Hi Team,
I need to implement another functionality. On a button click a popup has to appear to select the font type, font style etc. And upon selecting them it should reflect in infragistics grid. Is there a way to implement it in this grid.
Thanks,
Assyst
Hi team,
Expecting your reply soon in this issue.
Is there a way to implement a popup with this functionalities?
Hi,
You could do this as you use css styles. I would suggest refer the ig_res folder -> ig_dataGrid.css file which brings the styles applied to the grid and decide which portion of the gird you want to style.
Thanks
Assist,
This could be implemented with WebDataGrid component but it really depends on your scenario. Here could be included WebDialogWindow as well. So, keep in mind that implementation is up to you. Just a suggestion if you want to modify the font of all grid cells in the client - side I've tested something like this. :
<style type="text/css">
tbody.fontClass>tr>td
{
font-size : large ;
background-color :White ;
border-top :solid 1px #D8D8D8 ;
padding :5px 8px 5px 8px ;
overflow : hidden ;
height : 20px ;
text-align :left ;
vertical-align :middle ;
}
</style>
</<ig:WebDataGrid ID="WebDataGrid1" runat="server"
Height="350px" Width="797px">
<ClientEvents Initialize="Grid_Initialize" />
</ig:WebDataGrid>
Script:
<script type="text/javascript" id="igClientScript">
function Grid_Initialize(sender, eventArgs)
sender.get_rows()
.get_element()
.className = "fontClass" ;
</script>
:
The following css class will alter the font - size like this
Hope this helps.
Hi Rad,
Thanks for the reply. But i want to implement it dynamically. The user can choose the font style they want in the grid. I want something like this.
So how can i achieve this for this gird? Can you provide a sample?