Platform: SL4, VS2010, XamGrid v10.3Business Scenario: User clicks "Upload Excel" button and selects an Excel file with over 1500 rows of data (Item Id, Qty columns). We need to display the entire data, without paging and no Grid scrollbar. The grid will contain 3 columns, ID, Qty and a UnboundColumn column with ItemTemplate button "REMOVE" to remove the current row from the Grid.
We are currently evaluating XamGrid and are stuck with the following 3 requirements:
Getting the upload done quickly and responsively is the sole motive of adopting XamGrid. The default DataGrid is crashing on IE and most other browsers when bound with the ObservableCollection of uploaded items.
Any help would be appreciated and would assist us in adopting the XamGrid as our SL Grid across our LOB app.
1) If you were going to change the Visibility it would probably be easier to put a ValueConverter on the buttons Visibilty and if the value of your data object is whatever it needs to be, having the value converter do the work.
2) In v11.2 we allowed some columns to always be in edit mode, (ComboBox column, Date Column, Checkbox) but in general the columns will only show the editor once the grid is put into edit mode. That being said, off the Editing setting object is an option to have the cell go into edit mode as soon as the cell is active, so that would get you partially there.
3) You can modify the associated cell style like you would modify any other style. You can remove the VisualStates, and probably everything down to the ContentPresenter.