Message boxes don’t have the capability to display things like that. They just display straight text. To do what you want, you’ll need to use the Forms activities, or you could do it with Custom Input. For Custom Input you’d have to dynamically write the datatable to an HTML file, then display that HTML file with Custom Input. Forms is probably simpler, although you’ll have to learn how to use them to make the table read-only etc.
Could you let us know what is the end output that you would require ? Is it only to Display the Table in the format you have mentioned ? Is it the actual requirement ?
Do note that the Message Box can hold only a limited number of characters to be presented/shown, if your table contains more data, it would not be in a Presentable format even if get it to a format of a Table (If using | as Borders also).
There maybe activities/packages that you could use for checking in a Table format such as already mentioned Using Forms, one of which is provided below :
Check out the Show Datatable activity in the package mentioned in the post above.