The SLX grid is just an ASP.NET DataGridView. It can handle binding SQL to it just fine. You could use a Dataset filled with data directy from SQL just fine. However, it's been a while since I did this and not sure if it still works this way, but I seem to remember that AA would compplain if you didn't set up the datagrid with a datasource when you built the form, but I would create an empty business rule to bind it to, like how I described here http://customerfx.com/article/filtering-a-datagrid-in-saleslogix-web-at-runtime/
You should be able to set up the columns in AA using the field names from your SQL data (but if AA complains, I'd just clear the columns and setup at runtime using a loadaction before you populate it with your SQL data.
One last thing, I don't remember if edit & delete columns work with this method or not, however, they should - but you might need to add Id and InstanceId fields to your SQL query (just alias the table ID for those fields). I guess we'll see if that works  |