Questions tagged [office-fabric]
79 questions
2
votes
0 answers
FabricUI DatePicker/Calendar days highlighting and navigation callback
I'm using DatePicker/Calendar in current project. Looks great but having some issues I can't addredd myself currently.
Is there a possibility to get notified by component or somehow inject callback to "month changed"?
Tried to track this change…

matprzybyla
- 86
- 5
2
votes
1 answer
Office Fabric in SharePoint Framework: how to disable icon warnings?
I created Context Menu button in Document library (not web part) that displays some info using 'office-ui-fabric-react' library.
The problem is when I open my SharePoint Online page and my extension loads, I get millions of console warnings.
I…

Analytick
- 21
- 1
- 3
2
votes
2 answers
Get selectedKey from dropdown office fabric ui
I created two react classes. One of this - child class name - ChildView, bind data into dropdown office fabric component and I use on ParentView class
ChildView, code:
export class ChildView extends React.Component

user1143009
- 31
- 1
- 4
1
vote
1 answer
office excel add-ins sessionStorage not working with Desktop excel
I have created excel add-ins using office.js and react-fabric UI. I wants to use sessionStorage to keep logged in user information for session management. On office365 online version it is working as expected but when it comes with native desktop…

sagar
- 464
- 4
- 13
1
vote
0 answers
How to add non-button items to Commandbar?
Can components other than button be added to Commandbar ? I want to add a SearchBox to the Commandbar . Is that possible?

Alcibiades
- 335
- 5
- 16
1
vote
1 answer
How to center button in TeachingBubble FluentUI component?
I'm using Fluent UI's TeachingBubble component. I want it to have one button, which should be centered. How can that be done? I'm unable to move it from the bottom right corner.
Current code:

Alcibiades
- 335
- 5
- 16
1
vote
1 answer
Fluent UI - best way to import components
I'm a beginner in the new Javascript world and would like to know the difference between
import { MessageBar } from "office-ui-fabric-react";
import { MessageBar } from "office-ui-fabric-react/lib-commonjs/MessageBar";
Both of them seem to work…

Gopal
- 1,292
- 3
- 19
- 41
1
vote
1 answer
Office.js | how to read hidden sheet data from workbook
I am using office.js to create excel add-ins. I am creating hidden sheet with certain json object on click of button from task pane. Now the requirement is if user saves workbook locally using native save option and if he opens workbook again in…

sagar
- 464
- 4
- 13
1
vote
1 answer
Jest test case is failing - ReferenceError: Office is not defined
I am using React-fabric UI with Office.js to create Excel add ins. Used below CDN to import office.js in index.html file.