Hi Laveena,
An HTML table that’s defined by iterating over a set of data, displaying information about one item of data per row. The body of the <apex:dataTable> contains one or more column components that specify what information should be displayed for each item of data. The data set can include up to 1,000 items, or 10,000 items when the page is executed in read-only mode.
For the datatablein salesforce lightning component check the url:-https://developer.salesforce.com/forums/?id=9060G0000005V95QAE