May not answer the "how to get it with CustomTableItemProvider", but i find the QueryInfoProvider works better.
Dataset ds = QueryInfoProvider.ExecuteQuery("ESPO.FrameworkStatus.Selectall", null, "IsActive=1", .....);
All classes have a hidden "selectall" query that you can always call, you can also call your custom queries by name this way as well. Try that.