[DetailsList] Could you add a prop to disable the select event on the specified column? Or recommand a workaround?
Describe the feature that you would like added
In the single page website, when I render a link in the details list and then click on the link, it always trigger the onSelectionChanged event, then trigger the link click event. For some perf reasons, I need: when I click link, it doesn't trigger onSelectionChanged event...
So could you add a prop to disable the onSelect event on the specified column?Or some workaround you recommend? Thanks
What component or utility would this be added to
DetailsList
Additional context/screenshots
This may already be possible with the existing SelectionZone related props. Requires some testing.
This may already be possible with the existing
SelectionZonerelated props. Requires some testing.
Thanks for the reply. I didn't find a prop can resolve this problem: https://docs.microsoft.com/en-us/javascript/api/office-ui-fabric-react/iselectionzoneprops?view=office-ui-fabric-react-latest#oniteminvoked Could you tell me if you find? :)
This may already be possible with the existing
SelectionZonerelated props. Requires some testing.Thanks for the reply. I didn't find a prop can resolve this problem: https://docs.microsoft.com/en-us/javascript/api/office-ui-fabric-react/iselectionzoneprops?view=office-ui-fabric-react-latest#oniteminvoked Could you tell me if you find? :)
I believe @KevinTCoughlin is referring to the SelectionZone props within DetailsList
This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your contributions to Fabric React!
Any update?
Any update?
@jieqiu0129, the following selectable DetailsList example does not invoke onSelectionChanged when an anchor link rendered in a column cell is clicked: https://developer.microsoft.com/en-us/fabric#/controls/web/detailslist/variablerowheights
Can you employ the same strategy for your use-case?
I'm not sure a prop for this is something we want or have the capacity to add right now. If the above doesn't work for you and you wish to raise a PR, please do so.
This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your contributions to Fabric React!