Returns whether a row is selected
bool GetIsSelected( long Row )
true if the given row is selected, otherwise false
Example codes can be pasted to doExample() function in GridControl's examples to run
m_GridCtrl.SetSelection(flexSelectionListBox); printf("There are %d non-fixed rows\n",m_GridCtrl.GetNumRows()); m_GridCtrl.SetRowsIsSelected(1,3,true); for(int ii=m_GridCtrl.GetRowOffset();ii<m_GridCtrl.GetNumRows()+m_GridCtrl.GetRowOffset();ii++) m_GridCtrl.GetIsSelected(ii)?printf("row %d is selected\n",ii):printf("row %d is not selected\n",ii);
GridControl.h