-
Notifications
You must be signed in to change notification settings - Fork 145
Offer easy way to disable detailRenderer #42
Comments
Maybe try passing in a blank renderer (have it return nothing in its render method)? Also could you describe your use case a little for us (just curious)? |
Hi how can I pass the blank renderer? |
Answering my own question, just created a new Class which had the
the class is something like this:
|
Neat. I'll leave this open, as we'd probs like to offer a neater way of doing this in future. |
I'm trying to implement a file browser with drag and drop functionality, where a user selects files/folders on a drive.
Yes, that's what I've one for now. Similar to @DarioDiem 's approach, I just passed a (functional) component which returns nothing:
|
Well, this works:
I think this issue should be closed |
Closing due to suitable solutions above |
I tried disabling the detailRenderer by setting
detailRenderer={null}
, which is an unexpected type and doesn't work. In the tutorial, I sawheaderRenderer
set tonull
once and thought this would work here as well.How can I disable the item details ?
The text was updated successfully, but these errors were encountered: