We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
render() { <ListView ref={'listView'} dataSource={this.state.dataSource} renderRow={this.renderRow} renderSectionHeader={this.renderSectionHeader} /> }, renderSectionHeader() { <DXTextMenu ref={'textMenu'} style={{height: TEXT_MENU_HEIGHT}} /> }, componentDidMount() { // Got it const list = this.refs['listView']; // Not found const textMenu = this.refs['textMenu']; },
As the code shows, I can get the listView ref but not the listView's header's ref, how can I get it?
The text was updated successfully, but these errors were encountered:
Use callback refs, which are superior to string refs: ref={component => whatever}
ref={component => whatever}
Sorry, something went wrong.
No branches or pull requests
As the code shows, I can get the listView ref but not the listView's header's ref, how can I get it?
The text was updated successfully, but these errors were encountered: