We investigate the dynamical properties of anyons confined in one-dimensional optical lattice combined with a weak harmonic trap using the exact numerical method based on a generalized Jordan-Wigner transformation. The density profiles, momentum distribution, occupation distribution and occupations of the lowest natural orbital are obtained for different statistical parameters. The density profiles of anyons display the same behaviors irrespective of statistical parameter in the full evolving period. While the behaviors dependent on statistical property are shown in the momentum distributions and occupations of natural orbitals.