@(Html.Kendo().Grid<Tracker.TMS.BE.uspTMSSelectAreas_Result>()
.Name("AvailableAreas")
.Groupable()
.Sortable()
.Filterable()
.Scrollable()
.Selectable(s => s.Mode(GridSelectionMode.Multiple))
.Columns(columns =>
{
columns.Bound(e => e.CustomerVehicleID).Visible(false);
columns.Bound(e => e.AreaID).Visible(false);
columns.Bound(e => e.AreaType).Title("Area Type").Width(100);
columns.Bound(e => e.SubType).Title("Sub Type").Width(100);
columns.Bound(e => e.AreaName).Title("Area Name");
})
.Resizable(resize => resize.Columns(true))
.Pageable(page => page.Enabled(false)).NoRecords("No records found.")
.Events(e => e.Change("availableAreaSelected"))
.DataSource(dataSource => dataSource
.Ajax()
.Read(read => read.Action("GetAvailableAreas", "Vehicle").Data("filterAreas"))))
Q
IEでの作業が、
0
A
答えて
2
グリッド列のサイズ変更が剣道UIバージョン2016.2.607にIEで動作しないChromeとFirefoxで正常に動作しないサイズ変更可能な剣道UIグリッド。ボディズームは、その後、1に設定されている場合で、すなわち以来@ dimodiの答えに
http://dojo.telerik.com/AzaKu/2
kendo.ui.Grid.fn._positionColumnResizeHandle = function() {
function cursor(context, value) {
$('th, th .k-grid-filter, th .k-link', context)
.add(document.body)
.css('cursor', value);
}
var NS = ".kendoGrid",
that = this,
isRtl = kendo.support.isRtl(that.element),
indicatorWidth = that.options.columnResizeHandleWidth,
lockedHead = that.lockedHeader ? that.lockedHeader.find("thead:first") : $();
that.thead.add(lockedHead).on("mousemove" + NS, "th", function(e) {
var th = $(this);
if (th.hasClass("k-group-cell") || th.hasClass("k-hierarchy-cell")) {
return;
}
function getPageZoomStyle() {
var docZoom = parseFloat($(document.documentElement).css("zoom"));
if (isNaN(docZoom)) {
docZoom = 1;
}
var bodyZoom = parseFloat($(document.body).css("zoom"));
if (isNaN(bodyZoom)) {
bodyZoom = 1;
}
return docZoom * bodyZoom;
}
var clientX = e.clientX/getPageZoomStyle(),
winScrollLeft = $(window).scrollLeft(),
position = th.offset().left + (!isRtl ? this.offsetWidth : 0);
if (clientX + winScrollLeft > position - indicatorWidth && clientX + winScrollLeft < position + indicatorWidth) {
that._createResizeHandle(th.closest("div"), th);
} else if (that.resizeHandle) {
that.resizeHandle.hide();
} else {
cursor(that.wrapper, "");
}
});
}
1
若干の変更:クライアント側のグリッドオブジェクトのプロトタイプをオーバーライドする別のバージョン、または次の回避策を使用してください。
$(document.body).css("zoom")
100%に戻り、ない1は、これは
kendo.ui.Grid.fn._positionColumnResizeHandle = function() {
function cursor(context, value) {
$('th, th .k-grid-filter, th .k-link', context)
.add(document.body)
.css('cursor', value);
}
var NS = ".kendoGrid",
that = this,
isRtl = kendo.support.isRtl(that.element),
indicatorWidth = that.options.columnResizeHandleWidth,
lockedHead = that.lockedHeader ? that.lockedHeader.find("thead:first") : $();
that.thead.add(lockedHead).on("mousemove" + NS, "th", function(e) {
var th = $(this);
if (th.hasClass("k-group-cell") || th.hasClass("k-hierarchy-cell")) {
return;
}
function getPageZoomStyle() {
var docZoom = parseFloat($(document.documentElement).css("zoom"));
if (isNaN(docZoom)) {
docZoom = 1;
}
var bodyZoom = parseFloat($(document.body).css("zoom"));
if (isNaN(bodyZoom)) {
bodyZoom = 1;
}
else if (bodyZoom>=100 && (browser.msie || browser.edge)) {
bodyZoom = bodyZoom/100;
}
return docZoom * bodyZoom;
}
var clientX = e.clientX/getPageZoomStyle(),
winScrollLeft = $(window).scrollLeft(),
position = th.offset().left + (!isRtl ? this.offsetWidth : 0);
if (clientX + winScrollLeft > position - indicatorWidth && clientX + winScrollLeft < position + indicatorWidth) {
that._createResizeHandle(th.closest("div"), th);
} else if (that.resizeHandle) {
that.resizeHandle.hide();
} else {
cursor(that.wrapper, "");
}
});
のサイズを変更からユーザーを防止します
}
関連する問題
- 1. CSSボタンIEでの作業が、FF
- 2. IEで作業していないtablesorter
- 3. IEのフッターで作業するのに助けが必要
- 4. IEとChromeでサブメニューが動作しないFF、Operaでの作業
- 5. のjQuery UIのタブ:Firefoxでの作業、IEで壊れ
- 6. moment.js IEでIEが動作しない
- 7. IEでこの作業を行うことはできますか?
- 8. ie8 ie-ieブロックが動作しない
- 9. jQueryデリゲート()が動作しないie IE
- 10. 応答の表は、iPhone上で作業が、他のデバイス上での作業
- 11. Ubuntu 11.04での作業:Unityのクリップボードでの作業
- 12. プロダクションサーバでの作業
- 13. グリッドビューでの作業
- 14. formStuffでの作業
- 15. UIPagerViewControllerでの作業
- 16. FirefoxまたはIEでCSSが読み込まれません。 Chromeでの作業
- 17. jQueryのコンソールでの作業が、ウェブサイト
- 18. CSSトランジションのWebKitでの作業が、FF
- 19. ドロップダウンメニューで作業
- 20. knockoutjs foreachがIE 7とIE 8で動作していない
- 21. はIE 11での作業が、Google Chromeを働いていない - ここにjqueryの
- 22. Atomでの作業フローが遅い
- 23. がデバッグモードkotlinでimguiポートの作業
- 24. インポートは、コンソールでの作業が、pyCharm
- 25. マクロは、Excel 2013での作業が、2016
- 26. TaffyDBの作業ができない
- 27. PHPでの作業:// STDIN I/Oが
- 28. $ .post()がIEで動作しません
- 29. datepickerがIE 8.0で動作しない
- 30. swfobject getFlashPlayerVersionがIEで動作しない
獣のように働いた! – Majase
良い、私は助けてうれしいです。ケースが「閉鎖」されるように、回答として回答を記入してください。 – dimodi