Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

style file for datagrid in portlet

  Asked By: Pedro    Date: Mar 11    Category: Java    Views: 1157
  

How can i use stylefile.css in portlet? <Link ...> tag can't help me
to change datagrid style in portlet.in other project it works
correctly.

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Ginger Snyder     Answered On: Mar 11

you can add header-css tag  in liferay-portlet.xml file  in your project. same following example:

<portlet>
<portlet-name>portlet_name</portlet-name>
<instanceable>false</instanceable>
<header-css>/css/main.css</header-css>
</portlet>

this tag started in liferay 4.2 and upper.

 
Didn't find what you were looking for? Find more on style file for datagrid in portlet Or get search suggestion and latest updates.




Tagged: