I am using the template from the below link
https://digital-library.theiet.org/files/IET_Author-doublecolumn-submission.zip
The code for constructing the table is
\documentclass{cta-author}
\usepackage{multirow}
\usepackage{booktabs}
\begin{document}
\begin{table}[]
\centering
\processtable{Comparison of performance indices for different cases \label{Table2}}
{\begin{tabular}{@{\extracolsep{\fill}}|c|c|c|c|c|@{}}
\toprule
& A & B & C & \multicolumn{1}{c|}{} \\
\midrule
\multirow{3}{*}{p = 2} & 0.5 &
0.01 & 0.29 & \multicolumn{1}{c|}{I} \\ \cmidrule{2-5}
& 0.56 & 4.7 & 2.7 & \multicolumn{1}{c|}
{J} \\ \cmidrule{2-5}
& 8.2 & 2.6 & 1.4 & \multicolumn{1}{c|}
{K} \\
\bottomrule
\end{tabular}}{}
\end{table}
\end{document}
I want complete single vertical lines for all the columns. In the table image attached here, the vertical lines of the columns are broken in each row. What changes shall I make in the code to ensure a single vertical line in the columns?


booktabswith commands like\midruleis not made for vertical rules. – May 11 '20 at 03:47\hlineor (2) very very very much better, remove all the vertical lines and left "as is" thebooktabsrules. – Fran May 11 '20 at 04:00\cline{2-5}. Do also please check out What are good learning resources for a LaTeX beginner? – Mico May 11 '20 at 04:55