I have a GridPanel which supports multiple row selections using a CheckboxSelectionModel. I have an event that fires upon the GridPanel's SelectionChange, which works fine.

However, when this event fires, I want to be able to submit the IDs of the selected rows back to the server - how do I go about doing this?

I know you can use "getRowsValues" to get all the row values from the grid, but is there a way to just get the selected row's IDs?

                <SelectionChange OnEvent="grdProjects_SelectionChange" Buffer="250">
                    <EventMask ShowMask="true" Target="CustomTarget" CustomTarget="#{grdRisks}" />
                        <ext:Parameter Name="SelectedRows" Value="Ext.encode(#{grdProjects}.getRowsValues(false))" Mode="Raw" />