Hi,
I am switching all my XamDataGrids to XamGrids due to high performance in XamGrid.
I had an implementation of Templating RecordSelector in XamDataGrid, with a checkbox to select Rows.
But in XamGrid, I couldn't have this implemented.
I tried templating on RowSelectorCellControl,RowSelectorControl etc. But unsuccessfull.
Can anyone tell me what could be the workaround for this?
Thanks,
VJ
Hello VJ,
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
I saw your implementation.
In MVVM, we cant play on UI Element directly, we have to use some kind of binding to achieve our goal.
But your implementation, is totally based on UI Elements.
So, kindly provide me an MVVM implementation.
After some research, CheckBoxes as RowSelectors has been determined to be a new feature request. I have sent your feature request directly to our product management team. Our product team chooses new feature requests for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested features, we can plan accordingly.
We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your feature is chosen for development, you will be notified at that time. Your reference number for this feature request is FR14027.
As for the the updating the Series of XamDataChart based on the selected Rows of the XamGrid I can say that this is not an appropriate Feature request since it is a custom scenario and I am not completely sure what is the functioanlity you want to achieve.
If you would like to follow up on your feature request at a later point, you may contact Developer Support management via email. Please include the reference number of your feature request in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com
Thank you for your request.
Hi Stefan,
Thanks for the feature request.
As for the updation of XamDataChart, I want the XamDataChart to be dynamically updatable through binding in MVVM and not through playnig around on code-behind.
Currently, Series Property is read-only property. So, I have to play directly on control, which should be avoid in MVVM.
so, if this property can be bindable, it would just make our scenario work.
The feature request for Editable Series Property is FR14028. If you would like to follow up on your feature request at a later point, you may contact Developer Support management via email. Please include the reference number of your feature request in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com
Can I know the status of my Feature Request.
Hello,
Have you logged your own feature request and if so, could tell me what exactly is it for. If you haven’t, could you please tell for which of the existing ones are you asking, the one about XamGrid or the one about XamDataChart.
Looking forward for your reply.
Yes
My Scenario (In MVVM pattern):
On ViewModel, I have DataTable with IsSelected as one of the column along with the Data.
I want to bind this IsSelected column with a CheckBox/RowSelector to select that record.
Is possible to bind this type of data?
What is the functionality you want to achieve? I am guessing that you have a property on your Model object called IsSelected and want to bind the IsChecked property of the CheckBox in the RowSelector to that property. If this is the case then the code that was provided is correct and does not belong in a ViewModel. The process of selecting/unselecting when the CheckBox's IsChecked property value changes is the responsibility of the View.
What you want to do is bind your IsSelected property of the Model object to the IsChecked property of the CheckBox in the DataTemplate. Simply add this single line of code to the CheckBox:
< CheckBox IsChecked="{Binding Cell.Row.Data.IsSelected, RelativeSource={RelativeSource AncestorType={x:Type prim:RowSelectorCellControl}}}"
This is under the assumption that you added an IsSelected property to the Person class (model object) in the sample.
I'm actually talking about both the request, XamGrid as well as XamDataChart.