cancel
Showing results for 
Search instead for 
Did you mean: 

How to increase the font size of table in jsf through wpmf framwork on the POD.

sunita_sarkar
Explorer
0 Kudos
1,209

How to increase the font size of table in jsf using <sap:dataTable> through wpmf framwork .
Need to increase the column font size in jsf. Page is save as "table.jsp". I have use the div and style within this div
<div style="max-height: 150px;overflow-y: scroll; color:#0080ff;font-weight: bold; font-size: 18px>
<sap:dataTable><sap:column></sap:column></sap:dataTable>
</div>


"table.jsp" is

<%@page pageEncoding="UTF-8"%>
<%@ page language="java"%>
<%@ taglib prefix="h" uri="http://java.sap.com/jsf/html"%>
<%@ taglib prefix="f" uri="http://java.sap.com/jsf/core"%>
<%@ taglib prefix="sap" uri="http://java.sap.com/jsf/html/extended"%>
<%@ taglib prefix="fh" uri="http://java.sun.com/jsf/html"%>
<%@ taglib prefix="icon" uri="http://www.sap.com/sapme/ui/icons"%>

<f:subview id="TestView">
<sap:panel id="TestPanel" width="100%" height="100%"
isCollapsible="false" contentAreaDesign="transparent"
isCollapsed="false">
<f:facet name="header">

<fh:outputLabel id="headings"
value="#{TestPlugin.headingName}">
</fh:outputLabel>
</f:facet>


<f:attribute name="sap-delta-id"
value="#{sap:toClientId('TestPanel')}" />


<sap:panelGrid width="100%" height="100%" cellHalign="start" cellValign="top">
<div style="max-height: 150px;overflow-y: scroll; color:#0080ff;font-weight: bold; font-size: 18px;">
<sap:panelRow cellHalign="start" cellValign="top">

<sap:panelGroup backgroundDesign="transparent" width="100%"
height="100%" halign="start" valign="top">
<sap:panel id="dclistTestpanel" isCollapsible="false"
contentAreaDesign="transparent" borderDesign="none"
width="100%" height="100%">
<sap:panelGrid width="100%"
height="100%" cellHalign="start" cellValign="top">

<sap:dataTable value="#{TablePlugin.tabList}" first="0"
var="rows" id="tabList" width="100%" rows="0"
columnReorderingEnabled="true"
binding="#{TablePlugin.tableConfigBean.table}"
rendered="true">
<sap:column id="sortTab1" sortable="true" sortActionListener="#{TablePlugin.processColumnSort}" sortState="#{TablePlugin.sortingT1}">
<f:facet name="header">
<h:outputText style="font-weight: bold; font-size: 18px;" value="Column1" />
</f:facet>
<sap:outputLabel id="tab1Parameter"
value="#{rows.tab1Parameter}">
</sap:outputLabel>
</sap:column>



</sap:dataTable>

</sap:panelGrid>
</sap:panel>
</sap:panelGroup>

</sap:panelRow>
</div>
</sap:panelGrid>
</sap:panel>

</f:subview>

Accepted Solutions (0)

Answers (0)