Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
remove secondary row header from pivotgrid
#1
How to  remove the secondary header row in pivotgrid.

(12-23-2022, 10:57 AM)harshabalan Wrote: How to  remove the secondary header row in pivotgrid and change the header text alignment.
provide the rendercallback script in the dashboard script area :

sdk.setAfterRenderCallBack('pivotgrid1', function() {
$("#dataGridDiv"+sdk.getWidget('pivotgrid1').m_objectid).find(".datagrid-header-row .datagrid-cell-group").css("text-align","center");
$("#dataGridDiv"+sdk.getWidget('pivotgrid1').m_objectid).find(".datagrid-header-row .datagrid-cell").css("text-align","center");
$("#" + sdk.getWidget('pivotgrid1').m_componentid).find('.datagrid-header-row').eq(2).css({"visibility": "collapse" });

});
Reply


Messages In This Thread
remove secondary row header from pivotgrid - by harshabalan - 12-23-2022, 10:57 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)