Pivot
2 TopicsSet width for `PivotItem` in Office UI Fabric
I am using Pivot and PivotItem from Office UI Fabric to display my content in tabs. Currently when the tab renders, all the tabs are left aligned. I need to display the tabs with equal width so that they occupy the 100% width of the page. Below is the code for Pivot. <Pivot linkFormat={PivotLinkFormat.tabs} linkSize={PivotLinkSize.large} styles={pivotStyles}> <PivotItem headerText="Foo"> <Label>Pivot #1</Label> </PivotItem> <PivotItem headerText="Bar"> <Label>Pivot #2</Label> </PivotItem> <PivotItem headerText="Bas"> <Label>Pivot #3</Label> </PivotItem> <PivotItem headerText="Biz"> <Label>Pivot #4</Label> </PivotItem> </Pivot> Below is the code that I could figure out to add styles to Pivot. But we do not have styles attribute for PivotItem. const pivotStyles:IPivotStyles = { link: {}, linkContent: {}, linkIsSelected: {}, text: {}, icon: {}, count: {}, root: { //background: DefaultPalette.greenDark } }; How can I apply style to PivotItem so that I can add width to it?2.2KViews0likes0CommentsExcel Pivot table with input from a comma separated value file (both files on SharePoint)
Hello, I have an excel file with many pivot tables uploaded on SharePoint. It gets his input data from The CSV file also uploaded on the same share point page. Weekly The CSV file changes (some columns appear, and some disappear). The comma separated value file is weekly updated automatically on the SharePoint via Jenkins application. The problem is that I don't know how the excel file can take the new info (from the comma separated value file) and refresh all the pivot tables with the new data. thank you in advance1.9KViews0likes0Comments