In attempting to apply an alternate table row coloring (using xcolor) in a longtable, one confronts, sooner or later, problems in compiling a PDF. In xcolor's documentation it is clearly stated, under Known Issues, that \rowcolors[\hline]... does not work with longtable.
Within tex.SE, various solutions address the issue of alternate row coloring of normal tables, i.e. How to create alternating rows in a table? A nice way for auto-alternate row-coloring every table is posted at Coloring every alternate table row (see Addendum in the end of the post).
However, there is no direct question & answer referring to the combined use of xcolor's \rowcolors command & longtable. Moreover, searching the web for work-arounds, at least one solution, involves the use of longtable and colortbl.
Is there a way to use, within LyX, the \rowcolors (set of) command(s) provided by xcolor within longtable?


\show- and\hiderowcolorscommands work perfectly as showed in http://tex.stackexchange.com/q/61127/8272 – Nikos Alexandris Jun 30 '12 at 11:41