How to hide/show and Enable/Disable Data Table "SPDataTable" like any control

Hello
Normally i use this script to hide or show a certain control:
$(fd.field(‘ControlName’).$parent.$el).hide();
$(fd.field(‘ControlName’).$parent.$el).show();

And i use this script to disable or enable the control:
fd.field(‘ControlName’).disabled = true;

What about the Data Table “SPDataTable”
How to hide and show???
Enable and Disable???

Dear @gkhadra,

Please try the following code:

$(fd.control("SPDataTable0").$el).hide();
$(fd.control("SPDataTable0").$el).show();

fd.control("SPDataTable0").readonly = true;

Thanks AlexZver it works, i have another issue on hiding controls within an accordian container i will open another topic for this issue thank you for your help