none
how to get the value of particular cell value in JsGrid using "OnCellEditCompleted" RRS feed

  • Question

  • how to get the value of particular cell value instead of column title in JsGrid using "OnCellEditCompleted" event as below:

     

    <script type="text/javascript">
        Type.registerNamespace("GridManager");

        GridManager = function () {
            this.Init = function (jsGridControl, initialData, props) {
                control = jsGridControl;
                var dataSource = new SP.JsGrid.StaticDataSource(initialData);
                var jsGridParams = dataSource.InitJsGridParams();

                // This event is triggered after the standard grid error checking.
                jsGridControl.AttachEvent(SP.JsGrid.EventType.OnCellEditCompleted, GotHere);

                jsGridControl.Init(jsGridParams);
            }
        };
        function GotHere(obj) {
            alert('Got Here, ' + obj.fieldKey);

        }
    </script>


    Thanks & Regards, Krishna

    Wednesday, September 12, 2012 6:31 AM

All replies

  • In the example above you are using the jsgrid outside Project (or better to say PWA). I would assume that you will have more chances for an answer on a SharePoint discussion.

    Jan Cirpka

    Wednesday, September 12, 2012 7:02 AM