Hi @xiaodai and welcome to the Dash Community! 
The properties of the DataTable can absolutely be used as inputs to a callback.
You just need to use a valid table property - such as “data” or “columns” or one of the many other many table properties. ('table1' looks like it might be an id ?)
If you post a little more code - like a minimal example that will reproduce the error, it will be easier to help. See more information here: How to Get your Questions Answered on the Plotly Forum