Thank you for the provided resources.
You can use the columns.headerAttibutes configuration to add custom class to the master Grid's headers only. You can then apply the below CSS to achieve the desired result:
title: "First Name",
Here is a small Dojo example for reference.
I am not sure I understood which border you wish to remove, so kindly provide additional explanations about that and I will happily assist you.