I've looked through the AttributeTable widget and have trouble wrapping my head around it. Could you point me to where the csv export is performed? I was hoping to model a KML option after it but so far I can't find it. I wonder if the logic is not contained within the AttributeTable object itself, part of agslib-3.1-2012-12-12.swc.
I was originally going to add it to Robert's fixed datagrid but the AttributeTable fits my needs perfectly. Now if I can just find a place for a KML export...