h1

Changing Column Header Alignment – JqGrid

January 19, 2013

We can use setLabel method to change the alignment of JqGrid Column Header

Coding :

$(“#grid”).jqGrid(“setLabel”,”columnname”,””,{“text-align”:”left”});

 

Advertisements

4 comments

  1. can’t put my finger where i heard this before but its still interesting


  2. quite interesting, heard it before but still interesting.


  3. It dint work for me, i am getting the exception like No overload method setLabel taks (0) arguments



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: