Add a row in version 10.3

Posted by: johngiblin on 11 May 2020, 11:16 am EST

    • Post Options:
    • Link

    Posted 11 May 2020, 11:16 am EST

    I am currently using version 10.3. I am not sure if there is a add row option.

    I did try the following options with no luck

    
            this.dataView = new GC.Spread.Views.DataView(
                this.grid.nativeElement,
                this.reportTabSource.reportLines,
                this.reportTabSource.reportHeaders,
                new GC.Spread.Views.Plugins.GridLayout({
                    allowColumnResize: true,
                    allowColumnReorder: false,
                    showRowHeader: false,
                    selectionMode: 'none',
                    allowEditing: true,
                    allowAutoAddRow: true,
                    autoAddRowPosition: 'bottom'
                })
            );
    
    

    I assume I can add the row myself, and then force it to edit mode. How would I trigger a particular row into editmode

  • Posted 13 May 2020, 2:15 am EST

    Hi,

    DVJS supports the auto-add row feature since the release of DVJS. I created a sample based on the shared code snippet and was able to successfully add rows. Please refer to the following sample:

    https://codesandbox.io/s/dvjs-sample-kfv8u?file=/src/index.js

    In the above sample, committing values in the last row, add a new row.

    If the issue persists at your end, please share a small sample replicating the same so that we could further investigate it and assist you accordingly.

    Regards

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels