A. R. Newlands devised an early table of elements , which was then developed into the modern periodic table of elements by the German Julius Lothar Meyer and the Russian Dmitri Mendeleev in the 1860s .