Telerik Forums
Kendo UI for jQuery Forum
1 answer
362 views
The splitter shows up, but I want the splitter to fill the page as it's shown, with a min height . However, when I adjust the page nothing happens. I tried to use the 
var resizeSplitter = function() {
    var topHeight = 100;
    var bottomHeight = 100;
    var centerHeight = $(window).height() - (topHeight + bottomHeight);
  
    var splitter = $("#vertical").data("kendoSplitter");
  
    splitter.size("#topPane", topHeight + "px");
    splitter.size("#middlePane", centerHeight + "px");
    splitter.size("#bottomPane", bottomHeight + "px");
     
    splitter.trigger("resize")
};
but it doesn't find the splitter. Any advice would be appreciated.

here is my HTML & JS

<!DOCTYPE html>
<html>
<head>
    <title></title>
 
    <link href="Content/KendoUI/styles/kendo.common.min.css" rel="stylesheet" />
    <link href="Content/KendoUI/styles/kendo.default.min.css" rel="stylesheet" />
 
    <script src="Scripts/KendoUI/jquery-1.8.2.js"></script>
    <script src="Scripts/KendoUI/kendo.all.js"></script>
 
    <script src="Scripts/spotfire/SpotfireApi.4.0.js"></script>
    <script src="Scripts/spotfire/POCWebPlayer.js"></script>
 
</head>
<body>
            <script>
                function getGridStudyFileter(sel) {
                    var value = sel.options[sel.selectedIndex].value;
                    var grid = $("#grid").data("kendoGrid");
                    if (value !== "") {
                        grid.dataSource.filter({ field: "StudyName", operator: "eq", value: value });
                    } else {
                        grid.dataSource.filter({});
                    }
 
                    /*
                    webPlayer.analysisDocument.setDocumentProperty(
                                "SelectedStudies",
                                [value]);
                    */
                }
            </script>
            <div id="filtering" style="border-color: darkblue;border:double">
                <select id="ddStudyName" onchange="getGridStudyFileter(this)">
                    <option value="">None Selected</option>
                    <option value="IPI-142-02">IPI-142-02</option>
                    <option value="IPI-142-02">IPI-142-06</option>
                    <option value="IPI-504-14">IPI-504-14</option>
                    <option value="IPI-504-15">IPI-504-15</option>
                </select>
                :::
                <span id="clientHeightDiv" ></span> :::
                <span id="windowHeightDiv" ></span> :::
                <span id="filteringSizeDiv"></span> :::
                <span id="TheSplitterContainerSizeDiv"></span> :::
                <span id="TheGridSizeDiv"></span> :::
                <span id="TheGridDataAreaDiv"></span> :::
                <br />
                <span id="splitterSizeDiv"></span> :::
                <span id="top-paneSizeDiv"></span> :::
                <span id="reconcileSizeDiv"></span> :::
                <span id="bottom-paneSizeDiv"></span> :::
                <span id="webPlayerSizeDiv"></span> :::
            </div>
 
    <div id="TheSplitterContainer" style="border-color: darkblue;border:double" class="k-content">
            <div id="vertical" style="min-height:500px;" >
                <div id="top-pane">
 
                        <div id="reconcileDiv" style="background-color:silver; font-family:'Courier New';font-size:10px;">
                            <div id="grid"  ></div>
                        </div>
                </div>
                <div id="bottom-pane">
                    <div class="pane-content">
 
                            <div class="pane-content">
                                <div id="webPlayerDiv" style="background-color:silver;overflow:auto;" ></div>
                            </div>
                    </div>
                </div>
            </div>
    </div>
</body>
</html>
JS:
var webPlayer;
var webPlayerRelativePath = "http://ipispotfireweb.infinitypharm1.com/spotfire/"; //"../SpotfireWeb/";
var analysisPath = "/Clinical/Safety/SAE Reconciliation/SAE Reconciliation Version 2"; // "/Test and Development/SAETest";  //";//
 
var CONTROL_WIDTH = 800;
var RECONCILE_HEIGHT = 300;
 
window.onload = function () {
 
    //document.domain = "infinitypharm1.com";
    //openWebPlayer();
 
    CONTROL_WIDTH = 800;
    RECONCILE_HEIGHT =500;
};
 
var createLayout = function () {
    resize();
};
 
var grid;
 
var BindData = function (data) {
 
     
    try {
        var dataSource = $('#grid').data("kendoGrid").dataSource;
        dataSource.data(data);
        //dataSource.read();
        $('#grid').data("kendoGrid").refresh();
        dataSource.sync();
    } catch (e) {
        alert(e);
    }
     
}
 
var textEditorInitialize = function (container, options) {
    $('<textarea name="' + options.field + '" style="width:140px;height:100px" />').appendTo(container);
};
 
var statusEditorInitialize = function (container, options) {
    $('<select name="' + options.field + '" ><option value="Open">Open</option><option value="Closed">Closed</option><option value="Queried">Queried</option><option value="Acceptable Discrepancy">Acceptable Discrepancy</option><option value="Pending PV Comment">Pending PV Comment</option></select>').appendTo(container);
};
 
function resizeGrid(newHeight) {
    var gridElement = $("#grid");
    var dataArea = gridElement.find(".k-grid-content");
    //var newHeight = gridElement.parent().innerHeight() - 2;
    //var diff = gridElement.innerHeight() - dataArea.innerHeight();
    gridElement.height(newHeight);
    //dataArea.height(newHeight - diff);
}
 
var resizeSplitter = function () {
    var topHeight = 100;
    var bottomHeight = 100;
    var centerHeight = $(window).height() - (topHeight + bottomHeight);
 
    var splitter = $("#vertical").data("kendoSplitter");
 
    splitter.size("#topPane", topHeight + "px");
    splitter.size("#middlePane", centerHeight + "px");
    splitter.size("#bottomPane", bottomHeight + "px");
 
    splitter.trigger("resize")
};
 
$(document).ready(function () {
    createLayout();
 
    // var crudServiceBaseUrl = this.location.protocol + "//" + this.location.hostname + "/Argus.WebServices/api";
 
    var testdata = [
        { "Id": 106, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 107, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 108, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 109, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 110, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 111, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 112, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
        { "Id": 113, "StudyName": "IPI-504-15", "UsubjId": "IPI-504-15-003-004", "Psubjid": "003-004", "MatchId": "IPI-504-15-003-004_Back pain_2012Apr24", "MatchSources": "Both", "ArgusCaseNum": "2012-00120", "Field": "GENDER", "ArgusValue": "FEMALE", "CricitValue": "F", "ValuesMatch": "Y", "Status": "Open", "DateCreated": "2013-09-17T04:00:00.000Z", "DmComments": "aaa", "PVComments": "vvv" },
    ]
 
 
 
    $("#vertical").kendoSplitter({
        orientation: "vertical",
        resize: resize,
        panes: [
            { collapsible: false, size: "100%" },
            { collapsible: false, size: "0%" }
        ]
    });
 
    grid = $("#grid").kendoGrid({
        resizable: true,
        columns: [
            { field: "Id", title: "Id", hidden: true , menu: false},
            { field: "StudyName", title: "Study Name" },
            { field: "Psubjid", title: "Psubjid" },
            { field: "MatchId", title: "Match Id", filterable: false },
            { field: "MatchSources", title: "Match Source" },
            { field: "Field", title: "Field" },
            { field: "ArgusValue", title: "Argus Value" },
            { field: "CricitValue", title: "Cricit Value" },
            { field: "ArgusCaseNum", title: "Argus Case Number" },
            { field: "Status", title: "Status", editor: statusEditorInitialize },
            { field: "DmComments", title: "DM Comments", editor: textEditorInitialize, filterable: false },
            { field: "PvComments", title: "PV Comments", editor: textEditorInitialize, filterable: false },
            { field: "UsubjId", title: "USUBJID" },
            { field: "ValuesMatch", title: "Values Match" },
            { field: "DateCreated", title: "Date Created", format: "{0:MM/dd/yyyy}" },
            {
                command: [
                {
                    name: "edit",
                    text: { edit: " ", cancel: "cancel", update: " " }
                }
                ]
                , title: " ", width: "100px"
            }
        ],
        columnMenu: {
            sortable: true,
            filterable: {
                messages: {
                    selectValue: "Select category"
                }
            },
            columns: true,
            messages: {
                columns: "Choose columns",
                filter: "Apply filter",
                sortAscending: "Sort (asc)",
                sortDescending: "Sort (desc)"
            }
        },
        pageable: false,
        sortable: {
            mode: "multiple",
            allowUnsort: true,
        },
        filterable: true,
        editable: "inline",
        cancel: function (e) {
            this.refresh();
        },
        toolbar: [
        { name: "cancel", text: "Cancel" }
        ],
        dataSource: {
            data: testdata,
            serverPaging: false,
            serverFiltering: false,
            serverSorting: false,
            pageSize: 500,
            schema: {
                model: {
                    id: "Id",
                    fields: {
                        Id: { editable: false },
                        StudyName: { type: "string", editable: false},
                        Psubjid: { type: "string", editable: false },
                        MatchId: { type: "string", editable: false },
                        MatchSources: { type: "string", editable: false },
                        Field: { type: "string", editable: false },
                        ArgusValue: { type: "string", editable: false },
                        CricitValue: { type: "string", editable: false },
                        ArgusCaseNum: { type: "string", editable: false },
                        Status: { type: "string" },
                        DmComments: { type: "string" },
                        PvComments: { type: "string" },
                        ValuesMatch: { type: "string", editable: false },
                        UsubjId: { type: "string", editable: false },
                        DateCreated: { type: "date", editable: false },
                    }
                }
            },
            batch: false,
            error: function (e) {
                alert("The action failed.\nStatus Text: " + e.xhr.statusText + "\nStatus: " + e.xhr.status + "\nError Message: " + e.xhr.responseText)
                this.cancelChanges();
            }
        }
    });
 
});
 
 
 
var openWebPlayer = function () {
    var webPlayerCustomization = new spotfire.webPlayer.Customization();
    webPlayerCustomization.showCustomizableHeader = false;
    webPlayerCustomization.showTopHeader = false;
    webPlayerCustomization.showClose = false;
    webPlayerCustomization.showAnalysisInfo = false;
    webPlayerCustomization.showToolBar = false;
    webPlayerCustomization.showExportFile = false;
    webPlayerCustomization.showExportVisualization = false;
    webPlayerCustomization.showUndoRedo = false;
    webPlayerCustomization.showDodPanel = false;
    webPlayerCustomization.showFilterPanel = true;
    webPlayerCustomization.showPageNavigation = true;
    webPlayerCustomization.showStatusBar = false;
 
    webPlayer = new spotfire.webPlayer.Application(webPlayerRelativePath, webPlayerCustomization);
 
    var onError = function (errorCode, description) {
        //log('<span style="color: red;">[' + errorCode + "]: " + description + "</span>");
    };
 
    var onOpened = function (analysisDocument) {
        resize();
 
        webPlayer.analysisDocument.marking.onChanged(
        "Marking",
        "Field Level Merge",
        ["DISCREPANCY_ID",
            "STUDY_NAME",
            "USUBJID",
            "SUBJID",
            "STATUS",
            "FIELD_NAME",
            "Values Match?",
            "ARGUS FIELD_VALUE",
            "CRICIT FIELD_VALUE",
            "ARGUS CASE_NUM",
            "Match Sources",
            "Match ID",
            "DM_COMMENTS",
            "PV_COMMENTS",
            "DATE_CREATED"
        ],
        500,
        onMarkingChangedCallback);
 
    };
 
    webPlayer.onError(onError);
    webPlayer.onOpened(onOpened);
    webPlayer.open(analysisPath, "webPlayerDiv", "");
};
 
String.format = function () {
    var s = arguments[0];
    for (var i = 0; i < arguments.length - 1; i++) {
        var reg = new RegExp("\\{" + i + "\\}", "gm");
        s = s.replace(reg, arguments[i + 1]);
    }
    return s;
}
 
function onMarkingChangedCallback(marking) {
    if (marking["USUBJID"] !== undefined) {
        var rows = marking["USUBJID"].length;
 
        var data = [],
        now = new Date();
        for (var i = 0; i < rows; i++) {
            var tmpId = getDiscrepancyIdMarkingData(i, marking);
            var tmpValuesMatch = getMarkingData("Values Match?", i, marking);
            var tmpStatus = getMarkingData("STATUS", i, marking);
            if (tmpStatus === "Unknown") {
                tmpStatus = "Open"
            }
            var pushIt = false;
            var isNew = false;
 
            if (tmpId > 0) {
                pushIt = true;
            } else if (tmpId == 0 && tmpValuesMatch == "N") {
                pushIt = true;
                isNew = true;
            }
            if (pushIt && !isNew) {
 
                data.push({
                    Id: tmpId,
                    StudyName: getMarkingData("STUDY_NAME", i, marking),
                    UsubjId: getMarkingData("USUBJID", i, marking),
                    Psubjid: getMarkingData("SUBJID", i, marking),
                    Field: getMarkingData("FIELD_NAME", i, marking),
                    ValuesMatch: tmpValuesMatch,
                    ArgusValue: getMarkingData("ARGUS FIELD_VALUE", i, marking),
                    CricitValue: getMarkingData("CRICIT FIELD_VALUE", i, marking),
                    ArgusCaseNum: getMarkingData("ARGUS CASE_NUM", i, marking),
                    MatchSources: getMarkingData("Match Sources", i, marking),
                    MatchId: getMarkingData("Match ID", i, marking),
                    Status: tmpStatus,
                    DmComments: getMarkingData("DM_COMMENTS", i, marking),
                    PVComments: getMarkingData("PV_COMMENTS", i, marking),
                    DateCreated: getMarkingData("DATE_CREATED", i, marking)
                });
            } else if (pushIt && isNew)
            {
                data.push({
                    StudyName: getMarkingData("STUDY_NAME", i, marking),
                    UsubjId: getMarkingData("USUBJID", i, marking),
                    Psubjid: getMarkingData("SUBJID", i, marking),
                    Field: getMarkingData("FIELD_NAME", i, marking),
                    ValuesMatch: tmpValuesMatch,
                    ArgusValue: getMarkingData("ARGUS FIELD_VALUE", i, marking),
                    CricitValue: getMarkingData("CRICIT FIELD_VALUE", i, marking),
                    ArgusCaseNum: getMarkingData("ARGUS CASE_NUM", i, marking),
                    MatchSources: getMarkingData("Match Sources", i, marking),
                    MatchId: getMarkingData("Match ID", i, marking),
                    Status: tmpStatus,
                    DmComments: getMarkingData("DM_COMMENTS", i, marking),
                    PVComments: getMarkingData("PV_COMMENTS", i, marking),
                    DateCreated: getMarkingData("DATE_CREATED", i, marking)
                });
            }
        }
 
        try {
            BindData(data);
        } catch (e) {
            alert(e);
        }
    }
}
 
var getDiscrepancyIdMarkingData = function (i, marking) {
    var returnValue = null;
    try {
        returnValue = marking["DISCREPANCY_ID"][i];
    } catch (e) {
        returnValue = 0;
    }
 
    if (returnValue === "(Empty)") {
        return 0;
    }
    return returnValue;
}
 
 
var getMarkingData = function (field, i, marking) {
    var returnValue = null;
    try {
        returnValue = marking[field][i];
    } catch (e) {
        returnValue = null;
    }
 
    if (returnValue === "(Empty)" || returnValue === "Unknown") {
        return null;
    }
    return returnValue;
}
 
 
 
var resize = function () {
 
     
    var webPlayerDiv = document.getElementById("webPlayerDiv");
    var reconcileDiv = document.getElementById("reconcileDiv");
 
 
    var width = document.documentElement.offsetWidth;
    var height = document.documentElement.offsetHeight;
    var windowHeight = $(window).height();
    var windowWidth = $(window).width();
    var TheSplitterContainerH = $("#TheSplitterContainer").height();
    var TheSplitterContainerW = $("#TheSplitterContainer").width();
    /*****************************/
    var gridElement = $("#grid");
    var dataArea = gridElement.find(".k-grid-content");
    var newHeight = gridElement.parent().innerHeight() - 2;
    var diff = gridElement.innerHeight() - dataArea.innerHeight();
 
 
    $("#clientHeightDiv").text("Client H/W: " + height + "/" + width);
    $("#windowHeightDiv").text("Window H/W: " + windowHeight + "/" + windowWidth);
    $("#filteringSizeDiv").text("Filtering H/W: " + document.getElementById('filtering').offsetHeight + "/" + document.getElementById('filtering').offsetWidth);
    $("#TheSplitterContainerSizeDiv").text("TheSplitterContainer H/W: " + TheSplitterContainerH + "/" + TheSplitterContainerW);
 
    $("#TheGridSizeDiv").text("TheGridSize H/W: " + gridElement.parent().offsetHeight + "/" + gridElement.parent().offsetWidth);
    $("#TheGridDataAreaDiv").text("TheGridDataArea H/W: " + dataArea.height() + "/" + dataArea.innerWidth());
 
    $("#splitterSizeDiv").text("splitterSizeDiv H/W: " + document.getElementById('vertical').offsetHeight + "/" + document.getElementById('vertical').offsetWidth);
    $("#top-paneSizeDiv").text("Top Panel H/W: " + document.getElementById('top-pane').offsetHeight + "/" + document.getElementById('top-pane').offsetWidth);
    $("#reconcileSizeDiv").text("Reconciliaton H/W: " + document.getElementById('reconcileDiv').offsetHeight + "/" + document.getElementById('reconcileDiv').offsetWidth);
    $("#bottom-paneSizeDiv").text("Bottom Panel H/W: " + document.getElementById('bottom-pane').offsetHeight + "/" + document.getElementById('bottom-pane').offsetWidth);
    $("#webPlayerSizeDiv").text("Web Player H/W: " + document.getElementById('webPlayerDiv').offsetHeight + "/" + document.getElementById('webPlayerDiv').offsetWidth);
 
 
    resizeSplitter();
};
 
 
window.onresize = function () {
    resize();
};
Dimo
Telerik team
 answered on 15 Nov 2013
1 answer
278 views
The Kendo documentation describes the above property as follows: 
"Specifies the field of the original record which value to be used for population of the Model field."

I don't quite understand what is meant here. Can someone describe what this property is actually for? 
Alexander Valchev
Telerik team
 answered on 15 Nov 2013
3 answers
116 views
Fiddle here
Try to click the rows.
Selection works in chrome, but not in IE 11.0.9600.16384 

jquery 1.9.1
kendo 2013.2.716
windows 8.1

Nikolay Rusev
Telerik team
 answered on 15 Nov 2013
4 answers
481 views
Is there any way how to use Date picker for selecting two dates (from and to) ?

Usually there are couple ways how to achieve it (most popular see below):
- two text fields
- one date picker widget with possibility to select two dates (like google analytic has)
Sanjaya Kodagoda
Top achievements
Rank 1
 answered on 15 Nov 2013
4 answers
439 views
I have created a simple test to display a MySQL data table on a Kendo Grid using the DEMOS example as a template (ie, using a toolbar with Add/Edit/Cancel buttons, and having a Destroy command button in the grid).   I have defined my transport as:

transport: {
 read: {
                url: "services/user-read.php", 
                dataType: "JSON"
              },
              create: {
                url: "services/user-add.php", 
                type: "POST"
              },
              update: {
                url: "services/user-edit.php",
                type: "POST"
              } ,
 destroy: {
                url: "services/user-delete.php",
                type: "POST"
              }
},


During use, the Grid lets me Add / Edit and Delete records (and initially READS records just fine).   However, my Create/Update/Destroy PHP's never get called.   Is there something I have to manually do to get a Datasource to call these functions?   Any good examples of this available?

Thanks in advance!




Lito
Top achievements
Rank 1
 answered on 15 Nov 2013
1 answer
570 views
Hi,

 I have list of users (List<User>) binded to a grid. I have a currently logged in user information in ViewData[User]. 
What I want is if a grid contains a user which is in ViewData. I want that user to be selected as soon as grid loads data. How can I do this validation ? How can I get currently selected row ?


@(Html.Kendo().Grid<KendoGridAjaxBinding.Models.User>()
.Name("grid")
.DataSource(dataSource => dataSource  
.Ajax() // Specify that ajax binding is used
.Read(read => read.Action("User_Read", "Home")) // Set the action method which will return the data in JSON format
)
.Columns(columns =>
{
 
columns.Bound(user=> user.UserID); 
columns.Bound(user=> user.UserName); 
columns.Bound(user=> user.City);;
})
.Pageable() // Enable paging
.Sortable() // Enable sorting
)
Ignacio
Top achievements
Rank 1
 answered on 14 Nov 2013
8 answers
547 views
When I hover over the menu in iE9 it disappears.  It works fine with Chrome & IE8.  If I enable compatibility view in IE, when I hover over the menu, it doesn't disappear, however it will not expand on click.  Thoughts?

Edit:  I should add the file version of the DLL used is:  2012.2.710.340

@(Html.Kendo().Menu()
      .Name("menuUser")
      .OpenOnClick(true)
      .Items(items =>
      {
          items.Add().Text(User.Identity.Name)
               .Content(@<text>
               <table>
               <tr>
                <td style="vertical-align: top;"><img src="~/Images/icon_no_photo_no_border_60x60.png" alt="" /></td>
                <td>
                    <div class="header_sub_menu">
                        <h2>@ViewBag.AppContext.UserDisplayName</h2>
                        <h3>@ViewBag.AppContext.UserPrimaryEmail</h3>
                        <hr />
                        <ol>
                            <li>@Html.ActionLink("Settings", "Index", "Home", new { area = "Settings" }, null)</li>
                            <li>@Html.ActionLink("Log off", "LogOff", "Account", new { area = "" }, null)</li>
                        </ol>
                    </div>
                </td>
               </tr>
               </table>
               </text>);
      })
)
Max
Top achievements
Rank 1
 answered on 14 Nov 2013
1 answer
189 views
I'm working with a Date Column thats part of the Data Grid. I'm using the following filter for my DateClosed Column. The template display a button in the column cell if the DateClosed value = '01/01/0001' and the date closed value when its not equal to that '01/01/0001'.
My problem is I want to allow users to filter to only show the Closed or Not Closed records. Records. 
Using the ui: datepicker does not allow me to do this. 
please help
Grid....
 {
                           field: 'DateClosed',
                           title: 'Closed',
                           format: '{0:MM/dd/yyyy}',
                           filterable: {
                               extra: true,
                               ui: 'datepicker'
                           },
                           template: kendo.template($("#closeActionItem").html())
                       },
Alexander Valchev
Telerik team
 answered on 14 Nov 2013
8 answers
1.3K+ views
Hi,
I have this problem with kendo mobile.

  • I have a kendo observable object onto which I bind the change event. 
    accViewModel = kendo.observable({
        id: null,
        type: null,
        accountingKey: null,
        selectedItems : [],
        resultObj: []
    });

  • After some input fields, corresponding to selectedItems in observable have changed I do an AJAX request.
  • Then I update a nested objects inside the observable with .set() method
    accViewModel.set("resultObj", response.resultObj);
    accViewModel.set("selectedItems ", response.selectedItems);

  •  However after the updating the observable it no longer calls the change event handler when I edit input fields by hand (not using the set method) that are bound via MVVM in the HTML.
However, I can still trigger the change event by updating the fields with .set() method, however it calls the method twice. What could be happening here? Any ideas?
Alexander Valchev
Telerik team
 answered on 14 Nov 2013
1 answer
69 views
I observe that in IE 10, the grid height extends to the number of rows where as in IE 11, the grid height is equivalent to only one row and gets a vertical scrollbar automatically if the number of rows is more than one ! This looks really ugly and I don't want to specify height of grid explicitly - it must occupy the height size to be all rows included.
Iliana Dyankova
Telerik team
 answered on 14 Nov 2013
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
DatePicker
Spreadsheet
Upload
ListView (Mobile)
ComboBox
TabStrip
MultiSelect
AutoComplete
ListView
Menu
Templates
Gantt
Validation
TreeList
Diagram
NumericTextBox
Splitter
PanelBar
Drag and Drop
Application
Map
ToolTip
Calendar
PivotGrid
ScrollView (Mobile)
Toolbar
TabStrip (Mobile)
Slider
Button (Mobile)
Filter
SPA
Drawing API
Drawer (Mobile)
Globalization
LinearGauge
Sortable
ModalView
Hierarchical Data Source
Button
FileManager
MaskedTextBox
View
Form
NavBar
Notification
Switch (Mobile)
SplitView
DropDownTree
ListBox
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
ColorPicker
Pager
Styling
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
PivotGridV2
Licensing
ScrollView
Switch
TextArea
BulletChart
QRCode
ResponsivePanel
Wizard
CheckBoxGroup
Localization
Barcode
Breadcrumb
Collapsible
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
TimePicker
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
BottomNavigation
Ripple
SkeletonContainer
Avatar
Circular ProgressBar
FlatColorPicker
SplitButton
Signature
Chip
ChipList
VS Code Extension
AIPrompt
PropertyGrid
Sankey
Chart Wizard
OTP Input
SpeechToTextButton
InlineAIPrompt
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SmartPasteButton
PromptBox
SegmentedControl
LLM Kit
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?