Browse By Tags

  • xamDataGrid: New record added prematurely

    Hallo,

    I'm currently creating an extension to the xamDataGrid. The datagrids data source is bound to one of our business objects and it's fields are of various types including dynaSense dropdown, checkbox, datepicker etc. All of the various types that…

  • Adding new record

    If am using a XamDataGrid with a DataSet binding with a TableAdapter to a SQL Server database.  I can edit records with no issues and see the results reflected in the database.   But I'm having problems adding records.  I'm using an Update Mode of OnRecordChangeOrLostFocus…

  • Adding a new row omits the collection field

    When adding a new datarow all fields of simple types are shown and can be given a value to be inserted.

    1) However if I have a field of type List<int>, I can't even see that field shown on the grid. Since its within the plus sign underneath the row.…

  • AllowAddNew without adding an empty row by default

    Hi,

    I have have missed one very simple configuration, but haven't been able to find it -- in my grid xaml file, I set AllowAddNew="True" for FieldLayout.  It now displays one empty record besides existing rows in the grid. Is there any way…

  • "Paste new rows" command

    Hello

    What I'm trying to do, and cannot find the way, is that I want to have 2 buttons on the toolbar:

    1. Paste

    2. Paste new rows

    The functionality is preety straightforward. I've implemented the first by:

                        <MenuItem Header="Paste" Command…

  • Insert row and Drag reorder

    Hello,

    Is there a way to do an insert row, let me explain. I want to add a new row but not at the end or at the beginning, but between 2 existing row.

    Also from the same problem, if by mistake I added it at then end, is there a way to drag a row inside…

  • ActiveDataItem add record not editable

    I have a XamDataGrid (code below) in which I am binding to the ActiveDataItem, which works and updates when items are selected.  The issue is that although all fields are editable, and that works correctly, the "Add New Row" row is not editable, and neither…

  • xamdatagrid customize addnewrecord

    I want to change the AddNewRecord "plus" image and bind this image with command. In xamdatagrid version 2011 V2, how to do that?

    I know xamgrid can do that by styling AddNewRowSelectorCellControl, but xamdatagrid doesn't have this.

    Any…

  • How To display Keyboard Focus in the XamDataGrid addeditrow cell.

    Hi,

     I have One New Button, and xamDatagrid.i Displayed addeditrow inXamDataGrid.

    Right Now, when i click New Button. the Keyboard focus goes to addeditrow cell.How? 

    I want code please..... as soon as possible

     

    Regards,

    Borelli Praveen

    Develope…

  • Button Does a Popup. Problem with New Record

    I have a button in my grid that popups up a popup with a user control that allows the user to pick from another datagrid record to associate with that column.  This works fine for editing existing records and also the first time I do a New Record.  The…

  • xamDataGrid setting focus on Cell of newly created Row using MVVM

    We are using MVVM pattern for our application. We have used xamDataGrid and binded its DataSource and ActiveDataItem to viewmodel class property.

    DataSource="{Binding Path=FilterList}"
    ActiveDataItem="{Binding Path=SelectedFilter}"…

  • Added Row Editable, Rest of Rows Non-Editable

    Trying to get the behavior where the added row is editable but the rest of the rows in the grid are non-editable. Is there a way to do this?

    Thanks

    JD

  • Exposing "AddNewRecord" Functionality

    Hi,

    Whenever an entry gets added to my BindingList via the "AddNewRecord" function, I need to perform a check on the entries. This unfortunately cannot be done in the usual way of validating using IDateErrorInfo of the member variables due to a design…

  • After enter, active record to AddNewRecord special row in edit mode

    Hey, I'll ask again.  How can i set the AddNewRecord special row's first cell to be automatically selected and in edit mode after I add a record (by pressing enter key)?  I have AllowAddNew="true" and AddNewRecordLocation="OnBottomFixed".…

  • Enter Records between existing records

    Hi,

    "Can we insert a record in between another 2 records"

    Suppose we have xamdatagrid with lots of row and we want to insert records between row5 and 6. Please let me know how to achieve this?

    Please update me using code behind or any existing…

  • How to add a new record to database from XamDataGrid

    Hi,

    I am using a XamDataGrid to populate say books. I want to ADD/EDIT/DELETE books from XamDataGrid and the change should reflect in the database. i.e. when I edit the record in XamDataGrid changes should be stored in the database similarly for Add…

  • when the bound collection is empty - AddNewRow disappears

    Attached is the collection that I bind to the XamDataGrid.

    When I delete all rows from the grid the AddNewRow disappears as well, although the collection implements IBindingList and the AllowNew returns true.

    What am I doing wrong?

    Thanks

  • Howto: Add Background color to the new row marker record

    Hello Community,

    I have a datagrid where I have enabled AllowAddNew=true.

    My grid background is white and even the new record marker row appears in the same background color. How do I change the background color of *ONLY* this marker row to make it…

  • Xamdatagrid - Adding New Record

    Hi,

    I have following questions on adding a new record from XamDatagrid:

    • Which event do we get when user clicks on "+" to add a new record, so basically, what I want to do is to make the entire row as editable (starting with first active cell in new…
  • Enter edit-mode after adding new row

    I have a grid bound to a collection (ListCollectionView). I'm trying to add new item to the list by

        myList.Insert(0, viewModel);
        myList.MoveCurrentToPosition(0);

    Grid has many columns and one is called "Name". It's a text field column with CellValuePresenter…

  • Binding to IEnumerable

    I'm binding the XamDaraGrid to IEnumerable colletion, that doesn't implement the IBindingList. But the AddNewRecord still appears at the top of the grid. How does this work?

  • How to add new record in xamdatagrid prgrammically?

    I'm testing xamdatagrid now.

    I wonder , how to add new record in xamtatagrid programmically?

    I can't find any info or sample in this site?

    Please let know about that.

    Thanks.

  • XamDataGrid add new record missbehaiviour

    Hi,

    When I add a new record to XAMDataGrid normally it creates a new row below, but if the grid has vertical scrollbar, it goes to the top of the grid even if I'm at the last row.

    In the image attached you have the grid states:

    1st grid (the one…

  • Re: Add / Remove Columns in XamDataGrid dynamically

    Hi,

    I want to add a column (unbound) in the xamDataGrid on runtime. 

    Till what extent I can work with adding, alterations and deletion of Columns, also to be updateble on DataSet or collection.

    Kindly tell me the options, procedure and code how can…

  • Selecting the AddNewRecord row

    A question for you all.  I am working on a screen in our application, and one of the requests from the end users is increased keyboard functionality.  They want to be able to add multiple new records in a row without using the Mouse.

    To that end, I am…