Title: How to format a datagrid column header Post by: Kevin on September 15, 2014, 04:03:57 PM I'm trying to format one of my datagrid's column header but I'm having no luck in getting this done. So for example;
Code: <table id='rep'> Is this possible? Title: Re: How to format a datagrid column header Post by: stworthy on September 15, 2014, 07:56:24 PM After created datagrid successfully, find the specified header cell and change its css style.
Code: var dg = $('#rep'); Title: Re: How to format a datagrid column header Post by: Kevin on September 15, 2014, 09:27:09 PM Thanks very much stworthy. As always, you come to the rescue. I did have to make 1 small change - I removed the line with;
dg.datagrid(); With it in, my datagrid would reload the rows when it executed this line. |