You can use the tailf:hidden statement to hide any part of your data model. Refer to Chapter 3.9, Hidden Data, for more information of this feature.
An alternative is to customize the auto-rendered show output as was suggested in your other post titled: Key value handling between datahandler and yang model.