Based on egreg answer on question how-can-i-make-siunitxs-num-bold i try to make the following table:
\documentclass[12pt,
border=2mm,
preview]{standalone}
\usepackage{booktabs}
\usepackage{siunitx}
\usepackage{etoolbox}
\renewcommand{\bfseries}{\fontseries{b}\selectfont}
\newrobustcmd{\B}{\bfseries}
\begin{document}
%---------------------------------------------------------------%
\begin{table}
\sisetup{detect-weight, mode=text, table-format=2.2}
\centering
\begin{tabular}{ l >{\$}S[table-align-text-pre=false,
table-space-text-pre =\$ ]
S[table-space-text-post=\,]<{\%}
}
\toprule
text a & \B 17.89 & \B 10.29 \\
text b & 0.29 & 7.89 \\
\bottomrule
\end{tabular}
\end{table}
\end{document}
which gives:
Is possible to convince siunitx that also the second cell in the first row to be write in bold?

\B, but the entry is not emboldened. – egreg Feb 18 '17 at 23:44>{\$}somehow prevents the cell from being bold. – samcarter_is_at_topanswers.xyz Feb 18 '17 at 23:45B, but not appear in bold (as stated egreg in his comment). – Zarko Feb 18 '17 at 23:46>{...}does the same. – egreg Feb 18 '17 at 23:46$˙should be in column headers, but I saw some question here with such demands, so I start to thinking how to solve this withsiunitx` – Zarko Feb 18 '17 at 23:50