import * as React from 'react'; import './App.css'; // import JqxDropDownButton from 'jqwidgets-scripts/jqwidgets-react-tsx/jqxdropdownbutton'; import JqxTree, { ITreeProps } from 'jqwidgets-scripts/jqwidgets-react-tsx/jqxtree'; // import { any } from 'prop-types'; // export interface IState extends ITreeProps { // checked: ICheckBoxProps["checked"]; // } class App extends React.PureComponent<{}, ITreeProps> { private myTree = React.createRef(); // private myDropDownButton = React.createRef(); private home = React.createRef(); private solutions = React.createRef(); constructor(props: {}) { super(props); // this.select = this.select.bind(this); // this.myTreeOnInitialized = this.myTreeOnInitialized.bind(this); // this.state = { // checked: true, // hasThreeStates: true // } } public componentDidMount(): void { // this.myTree.current!.selectItem(this.home.current); this.myTree.current!.expandItem(this.solutions.current); // this.myTree.current!.checkItem(this.solutions.current, true); // this.myTree.current!.uncheckItem(document.querySelector("#manufacturing")); // this.myDropDownButton.current!.setContent('
Home
'); } public render() { // const styles: any = { float: 'left', marginRight: '5px' }; return (
  • Home
  • Solutions
    • Education
    • Financial services
    • Government
    • Manufacturing
    • Solutions
      • Consumer photo and video
      • Mobile
      • Rich Internet applications
      • Technical communication
      • Training and eLearning
      • Web conferencing
    • All industries and solutions
  • Products
    • PC products
    • Mobile products
    • All products
  • Support
    • Support home
    • Customer Service
    • Knowledge base
    • Books
    • Training and certification
    • Support programs
    • Forums
    • Documentation
    • Updates
  • Communities
    • Designers
    • Developers
    • Educators and students
    • Partners
    • By resource
      • Labs
      • TV
      • Forums
      • Exchange
      • Blogs
      • Experience Design
  • Company
    • About Us
    • Press
    • Investor Relations
    • Corporate Affairs
    • Careers
    • Showcase
    • Events
    • Contact Us
    • Become an affiliate
); } // Event handling // private select(event: any): void { // // this.ContentPanel.current!.innerHTML = "
" + event.args.element.id + "
"; // const item = this.myTree.current!.getItem(event.args.element); // const dropDownContent = '
' + item.label + '
'; // this.myDropDownButton.current!.setContent(dropDownContent); // } } export default App;