Please help me to get the best UI layout as I don't want to use the table in my page due to less number of the column.
If you have a 2 column list with key-value pairs then you could use a ‘description list’ (
Tables are not very malleable in this regard — nor should they be really because tables should be used when comparison is the main user need.
Changing the layout on mobile (regardless of how we like to avoid horizontal scrolling) is probably still the right interaction.
In other words, if you need a table, you need a table regardless of screen size.
In your case though, by the sounds of it you don't.