added select, selectAll for db wiget, ref #90