Forum Replies Created
-
Author
-
Hello, now I looked at your demos again, yes, there does not seem to be a problem in your demo. I made customization, but even though I deleted them all, the same problem continues, I think this is happening because of the theme I use or a css plugin, thank you.
March 5, 2022 at 10:05 pm in reply to: old data is coming in the updated row old data is coming in the updated row #121573I am doing update through the button
February 19, 2022 at 12:55 pm in reply to: grid contextMenu modal popup problem grid contextMenu modal popup problem #121552hi again
i found the problemjqx-menu-wrapper z-index: Need to increase the value
February 19, 2022 at 12:36 pm in reply to: grid contextMenu modal popup problem grid contextMenu modal popup problem #121551example code
https://jsfiddle.net/Anatolium/v5oqpja7/15/and It didn’t appear even though I wrote this code.
This code is not available in your example anyway.
`{
text: ”, menu: false, sortable: false,
datafield: ‘available’, columntype: ‘checkbox’, width: 40,
renderer: function () {
return ‘<div style=”margin-left: 10px; margin-top: 5px;”></div>’;
}
}
}`January 8, 2022 at 8:49 pm in reply to: opening the detail grid, the checkboxes disappear opening the detail grid, the checkboxes disappear #121340thank you
January 5, 2022 at 11:36 am in reply to: add icon to dropdown nested grid add icon to dropdown nested grid #121325hello i found the solved..took me 4 days
.curvingRightArrow { font-size: 50px; position: inherit; left: 1px; top: -4px; z-index: 992321312321312; color: #335D84; }
//global variable
var rowCount = 0;
$('#GridMark').on('rowexpand', function (event) { event.preventDefault(); event.stopImmediatePropagation(); var index = $('#GridMark').jqxGrid('getrowboundindex', event.args.rowindex); var rowdata = $('#GridMark').jqxGrid('getrowdata', index); var rows = $("#GridMark").jqxGrid("getdatainformation"); for (var ri = 0; ri < rows.rowscount; ri++) { if (ri != index) { $('#GridMark').jqxGrid('unselectrow', ri); $("#GridMark").jqxGrid("hiderowdetails", ri); } } rowCount = 1; $('#GridMark').jqxGrid('selectrow', index); initrowdetails(index, false, $('#GridMark'), rowdata); });
$("#GridMark").on('rowcollapse', function (event) { event.preventDefault(); event.stopImmediatePropagation(); $("#GridMark").jqxGrid('clearselection'); $(".curvingRightArrow").remove(); });
var initrowdetails = function (index, parentElement, gridElement, record) { var detailGrid = new Array(); if (rowCount > 0) { var id = record.MARK_ID.toString(); detailData = GetModelsForMark(id); setTimeout(function () { $("#grid" + index).addClass("grid") var grid = $("#grid" + index); nestedGrids[index] = grid; var detailSource = { datafields: [ { name: 'MODEL_ID', type: 'int' }, { name: 'MODEL_CODE', type: 'string' }, { name: 'MODEL_NAME', type: 'string' } ], id: 'MODEL_ID', localdata: detailData } var detailAdapter = new $.jqx.dataAdapter(detailSource); if (grid != null) { grid.jqxGrid({ source: detailAdapter, width: "100%", height: '400px', pagerrenderer: pagerrenderer, columnsresize: true, columnsreorder: true, altrows: true, showToolbar: false, pageable: true, enabletooltips: true, showstatusbar: true, groupable: true,// GRUP theme: "arctic", statusbarheight: 40, autowidth: false, pagesize: 50, keyboardnavigation: true, virtualmode: false,// BUNU AKTİF ETME enablehover: true, showaggregates: false, // dip SAYFA SAYISI showgroupaggregates: false, renderstatusbar: function (statusbar) { statusbar.empty().append('<div style="grid-template-columns: 94% 6%;" class="action-wrapper-comboGrid">' + '<div id="expandPage">Kayıt: ' + data.length + '</div><span style="margin: 10px;" id="pageCount">Sayfa: 1/1</span></div>') }, filterable: true, showfilterrow: true, rendergridrows: function () { detailAdapter.records; }, columns: [ { text: '', sortable: false, filterable: false, editable: false, groupable: false, draggable: false, resizable: false, datafield: 'ROW_NUMBER', columntype: 'number', width: '2%', cellsrenderer: function (row, column, value) { return "<div style='font-size: 15px;margin: 4px;position: relative;text-align: center;'>" + (value + 1) + "</div>"; } }, { text: 'MODEL KODU', columntype: 'textbox', datafield: 'MODEL_CODE', width: "48%" }, { text: 'MODEL ADI', columntype: 'textbox', datafield: 'MODEL_NAME', width: "50%" }, ] }); $("#grid" + index).on("groupschanged", function (event) { if (event.args.groups.length > 0) { $("#grid" + index).jqxGrid('hidecolumn', 'ROW_NUMBER'); } }); var localizationobj = {}; localizationobj.pagergotopagestring = "Sayfaya Git:"; localizationobj.pagershowrowsstring = "Satırı Göster:"; localizationobj.pagerrangestring = " Arasında "; localizationobj.pagernextbuttonstring = "Sonraki"; localizationobj.pagerpreviousbuttonstring = "Önceki"; localizationobj.sortascendingstring = "Artarak Sırala"; localizationobj.sortdescendingstring = "Azalarak Sırala"; localizationobj.sortremovestring = "Sıralama Kaldır"; localizationobj.groupbystring = "Bu Kolonu Grupla"; localizationobj.groupremovestring = "Grupları Kaldır"; localizationobj.groupsheaderstring = "Gruplamak İstediğiniz Kolonu Buraya Sürükleyip Bırakın"; localizationobj.firstDay = 1; localizationobj.percentsymbol = " %"; localizationobj.currencysymbol = " ₺"; localizationobj.currencysymbolposition = "Önce"; localizationobj.decimalseparator = ","; localizationobj.thousandsseparator = "."; var days = { names: ["Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi"], }; localizationobj.days = days; var months = { names: ["Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık", ""], }; localizationobj.emptydatastring = "Kayıt Yok"; $("#grid" + index).jqxGrid('localizestrings', localizationobj); var element = $("<div id='expandPage'></div>"); var label = $("<div style='font-size: 11px; bold; float: left;'></div>"); label.appendTo(element); var datainfo = $("#grid" + index).jqxGrid('getdatainformation'); var paginginfo = datainfo.paginginformation; var count = paginginfo.pagenum == 0 ? 1 : paginginfo.pagenum; paginginfo.pagescount = paginginfo.pagescount == 0 ? 1 : paginginfo.pagescount; $("#grid" + index + " #pageCount").text("Sayfa: " + paginginfo.pagescount + "/" + count); $("#grid" + index + " #pageCount").show(); } $("#row"+index+"GridMark").append("<span class='curvingRightArrow'>⤷</span>") }) rowCount = 0; } }
January 3, 2022 at 11:43 pm in reply to: hide row number when grouping hide row number when grouping #121318I solved problem thank you
$(param.GRID_ID).on("groupschanged", function (event) { if (event.args.groups.length > 0) { $(param.GRID_ID).jqxGrid('hidecolumn', 'ROW_NUMBER'); } });
January 3, 2022 at 12:21 pm in reply to: initrowdetails is not firing in single click initrowdetails is not firing in single click #121316thank you
January 3, 2022 at 12:17 pm in reply to: opening the detail grid, the checkboxes disappear opening the detail grid, the checkboxes disappear #121315hello admin;
I think you are saying these but yes I know I put them wrong but when I removed them my problem did not go away
IS_LOCKED,IS_DEFAULTvar detailSource = { datafields: [ { name: 'COUNTRY', type: 'string' }, { name: 'CITY', type: 'string' } etc.... { name: 'IS_LOCKED', type: 'bool' }, { name: 'IS_DEFAULT', type: 'bool' },
January 3, 2022 at 12:12 pm in reply to: how to get the sum of subgrid? how to get the sum of subgrid? #121314hello your misunderstood..plase see the picture..I don’t want a subtotal
I want total on row above thank youJanuary 3, 2022 at 2:33 am in reply to: grid column resize cursor change grid column resize cursor change #121306thank you
January 2, 2022 at 10:26 am in reply to: add icon to dropdown nested grid add icon to dropdown nested grid #121303I’am sory the answer is simple
rowdetailsheight: 500
thanksJanuary 2, 2022 at 10:20 am in reply to: add icon to dropdown nested grid add icon to dropdown nested grid #121302and last question.. How can I increase the height? nested grid not full showing
thank you
https://ibb.co/cF5Ln41thank you
-
AuthorPosts