When I add the below block of code to Visual Studio, I'm getting a linting warning that resize is deprecated. In my real application, I need to pass true (grid.resize(true)) to it. Is there a way to suppress such warnings or is there a new way of doing this? This code is from this Kendo UI Knowledge Base article:
Resize and Expand Grid to 100% Height
function resizeGrid() {
gridElement.data("kendoGrid").resize();
}