I want to display attachment details after I upload the attachment. unable to find a good example

I have a requirement where after I upload the attachment, I need the following tabular information needs to be shown as read-only . I could not find a good example in SAIL documentation

Say, if I upload a file name abc.txt then the following info need to be displayed.

Name            File Name        File Type     Uploaded By      Date

abc.txt             abc                      TXT        loggedinuser   3/31/21

test.doc            Test                     DOC      loggedinuser   3/25/21

  Discussion posts and replies are publicly visible