yes, generally speaking this is not done.
The data.table widget you have access to , you presumably have access to because you provided an actual dataframe to a DT::renderDT, so the programmer would use that data rather than try to re-extract the data from the widget representation.
One must wonder does @smriti_j have a particularly bizarre context that means this is not the case...?