如何基于同一行中不同单元格中的数据禁用单元格中的内联编辑

狙击656

我想根据在其他单元格中找到的数据来启用/禁用单元格的内联编辑。

我正在使用格式化程序操作来显示“编辑”图标,这似乎意味着我无法通过onSelectRow进行任何检查,因为单击“编辑”图标时似乎没有被触发。阅读了各种问题/解决方案后,我认为我可以直接禁用/启用整个列的编辑,但这似乎不适用于下面的代码,而且我认为这是一条糟糕的路线,因为看起来像一个用户可以在同一显示的图标中的多行上单击编辑图标,并且每一行将同时显示为可编辑。似乎最好的方法似乎是在单元格级别本身启用/禁用编辑,但是我已经尝试通过afterInsertRow以及动作中的onEdit进行操作,但似乎对单元格是否可以编辑没有任何影响。

这使用的是JQGrid 4.5.2,jQuery UI 1.9.1和jQuery 1.8.2

<script>
        $(document).ready(function() {
            var noteIcon = '<div title="Job Details" style="float:left; margin-left:5px;" class="ui-pg-div ui-inline-edit" onmouseover="jQuery(this).addClass(\'ui-state-hover\');" onmouseout="jQuery(this).removeClass(\'ui-state-hover\');"><span class="ui-icon ui-icon-note"></span></div>';

            getColumnIndexByName = function(grid,columnName) {
                var cm = grid.jqGrid('getGridParam','colModel');
                for (var i=0,l=cm.length; i<l; i++) {
                    if (cm[i].name===columnName) {
                        return i; // return the index
                    }
                }
                return -1;
            };

            jQuery.extend(jQuery.jgrid.defaults, { 
                altRows:true,
                altclass:'myAltRowClass',
                datatype: "json", 
                jsonReader: {
                    root: "ROWS", 
                    page: "PAGE", 
                    total: "TOTAL", 
                    records: "RECORDS", 
                    cell: "", 
                    id: "0"
                }, 
                emptyrecords: "No jobs to display.",
                rowList: [25,50,100], 
                viewrecords: true, 
                height: "auto", 
                loadonce: true, 
                footerrow: true, 
                loadComplete: function (data) {
                    var $self = $(this), i = getColumnIndexByName($self, 'action');

                    $("tbody > tr.jqgrow > td:nth-child("+(i+1)+") > div:nth-child(1)",$self[0]).click(function(e) {
                        var tr=$(e.target,$self[0].rows).closest("tr.jqgrow");

                        e.preventDefault();
                        window.location.href = 'CenterView.cfm?table=ORDER_JOBS&ID=' + tr[0].id + '&backurl=%3DJobsInbox%2Ecfm%3FPICK%5FDMS%5FCENTERID%3D15';
                    });

                }, 
                colNames: [ "ID", "Delivery Type", "Service Type", "Pre-Commit", "Survey Name", "Client", "Order ID", "Job Number", "Client Reference","Internal Reference", "Type", "Product Name", "Submitted For", "Sales Coordinator", "Order Date", "Requested Date", "Standard Date", "Inbox Date", "Delivery Hold", "Pre-Commit Hold", "Analyst", "&nbsp;", "Actions" ], 
                colModel: [ 
                    { name: "id", index: "id", hidden: true, key: true }, 
                    { name: "delivery_type", index: "delivery_type", width: 70, formatter:'select', stype:'select', edittype:'select', editoptions: { value: ":All;External Delivery:External Delivery;Internal Data Access:Internal Data Access;Internal Delivery:Internal Delivery" } }, 
                    { name: "service_type", index: "service_type", width: 65, searchoptions:{sopt:['cn','eq','bw','bn','nc','ew','en']} }, 
                    { name: "isprecommit", index: "isprecommit", width: 50, align: "center", formatter:'select', stype:'select', edittype:'select', editoptions: { value: ":All;false:No;true:Yes" } }, 
                    { name: "survey_name", index: "survey_name", searchoptions:{sopt:['cn','eq','bw','bn','nc','ew','en']}, formatter:'showlink', formatoptions:{baseLinkUrl:'LinkStation.cfm', addParam: '&Type=JobsInboxSurvey&PICK_DMS_CENTERID=15'} }, 
                    { name: "corpname", index: "corpname", searchoptions:{sopt:['cn','eq','bw','bn','nc','ew','en']}, formatter:'showlink', formatoptions:{baseLinkUrl:'LinkStation.cfm', addParam: '&Type=JobsInboxClient&PICK_DMS_CENTERID=15'} }, 
                    { name: "orderid", index: "orderid", width: 40, formatter:'showlink', formatoptions:{baseLinkUrl:'LinkStation.cfm', addParam: '&Type=JobsInboxOrder&PICK_DMS_CENTERID=15'}, search:false }, 
                    { name: "jobsnumber", index: "jobsnumber", width: 60, searchoptions:{sopt:['cn','eq','bw','bn','nc','ew','en']}, formatter:'showlink', formatoptions:{baseLinkUrl:'CenterView.cfm', addParam: '&table=ORDER_JOBS&backurl=%3DJobsInbox%2Ecfm%3FPICK%5FDMS%5FCENTERID%3D15'} }, 
                    { name: "clientref", index: "clientref", width: 60, searchoptions:{sopt:['cn','eq','bw','bn','nc','ew','en']} }, 
                    { name: "internal_reference", index: "internal_reference", width: 33, formatter:'select', stype:'select', edittype:'select', editoptions: { value: ":;EOM:EOM;NO GO:NO GO" } }, 
                    { name: "survey_type", index: "survey_type", width: 35, align: "center", formatter:'select', stype:'select', edittype:'select', editoptions: { value: ":All;2D:2D;3D:3D" } }, 
                    { name: "product_name", index: "product_name", searchoptions:{sopt:['cn','eq','bw','bn','nc','ew','en']} }, 
                    { name: "submitted_for", index: "submitted_for", width: 70, searchoptions:{sopt:['cn','eq','bw','bn','nc','ew','en']} }, 
                    { name: "sales_coordinator", index: "sales_coordinator", width: 70, searchoptions:{sopt:['cn','eq','bw','bn','nc','ew','en']} }, 
                    { name: "order_date", index: "order_date", width: 50, align: "center", search:false, datefmt: 'mm/dd/yy' }, 
                    { name: "requested_date", index: "requested_date", width: 50, align: "center", search:false, datefmt: 'mm/dd/yy' }, 
                    { name: "dt_standard", index: "dt_standard", width: 50, align: "center", search:false, datefmt: 'mm/dd/yy' }, 
                    { name: "inbox_date", index: "inbox_date", width: 50, align: "center", search:false, datefmt: 'mm/dd/yy' }, 
                    { name: "isdeliveryhold", index: "isdeliveryhold", sortable: true, search: true, width: 50, align: "center", formatter:'select', stype:'select', editable:true, edittype:'select', editoptions: { value: ":;false:No;true:Yes" } }, 
                    { name: "isprecommithold", index: "isprecommithold", sortable: true, search: true, width: 50, align: "center", formatter:'select', stype:'select', editable:true, edittype:'select', editoptions: { value: ":;false:No;true:Yes" } }, 
                    { name: "analyst", index: "analyst", width: 115, align: "center", sortable: true, search: true, formatter:'select', stype:'select', editable:true, edittype:'select', editoptions: { value: ":;michael-19810202:Mike Hares;sara-20061004:Sara Kathleen Lampman" } }, 
                    { name: 'action', index: 'action', sortable: false, search: false, width: 25, formatter: function() { return noteIcon; } }, 
                    { name: "act", index: "act", width: 55, align: "center", sortable: false, search:false, formatter: "actions", 
                            formatoptions: {
                                keys: true, delbutton: false, afterSave: function() { $(this).jqGrid('setGridParam', {datatype:'json'}); $(this).trigger('reloadGrid', [{page:1}]); }, 
                                onEdit:function(rowid) {
                                    var localRowData = $(this).jqGrid('getLocalRow', rowid);

                                    if(localRowData.isprecommit == true) {
                                        // $(this).jqGrid('setColProp', 'isprecommithold', {editable:true});
                                    }
                                    else {
                                        // $(this).jqGrid('setColProp', 'isprecommithold', {editable:false});
                                        $(this).setCell(rowid,"isprecommithold","",'not-editable-cell');
                                    }
                                }
                            }
                    }
                ], 
                editurl: "Components/JobsInbox.cfc?method=SetJobUpdate&UPDATEDBY=aaron-20040630", 
                afterInsertRow: 
                    function(rowid, aData){ 
                        /*
                        if(aData.isprecommit == false) {
                            $(this).setCell(rowid,"isprecommithold","",'not-editable-cell');
                        }
                        */
                        if(aData.isdeliveryhold) {
                            $(this).setCell(rowid,"isdeliveryhold","",{"background":"#FF6A6A"});
                        }
                    }
            }); 

            $('#Jobs').jqGrid({
                url: "Components/JobsInbox.cfc?method=GetJobGrid&PICK_DMS_CENTERID=15&CFDateFormat=MM/DD/YY", 
                caption: "Jobs Inbox", 
                pager: $('#JobsPager')              
            });
            $('#Jobs').jqGrid('filterToolbar', { searchOperators: false, ignoreCase: true });
            $('#Jobs').jqGrid('navGrid', '#JobsPager', { add: false, edit: false, del: false, refresh: false });
            $('#Jobs').jqGrid('navButtonAdd', '#JobsPager', { caption: "", buttonicon: "ui-icon-refresh", title: $.jgrid.nav.refreshtitle, onClickButton: function() { $(this).jqGrid('setGridParam', {datatype:'json'}); $(this).trigger('reloadGrid', [{page:1}]); } });

        });
    </script>

    <style type="text/css">
        .myAltRowClass { background-color: #ECF6FC; background-image: none; }

        /* Wrap in header cell */
        .ui-jqgrid .ui-jqgrid-htable th div {
            height:auto;
            overflow:hidden;
            padding-right:4px;
            padding-top:2px;
            position:relative;
            vertical-align:text-top;
            white-space:normal !important;
        }

        /* Wrap in table cell */
        .ui-jqgrid tr.jqgrow td {
            white-space: normal !important;
            height:auto;
            vertical-align:text-top;
            padding-top:2px;
        }

        span.cellWithoutBackground {
            display:block;
            background-image:none;
            margin-right:-2px;
            margin-left:-2px;
            height:14px;
            padding:4px;
        }
    </style>
狙击656

我在防止以内联编辑模式编辑特定可编辑行的单元格中的另一个问题找到了基本答案

这是工作代码:

<script>
    $(document).ready(function() {
        var noteIcon = '<div title="Job Details" style="float:left; margin-left:5px;" class="ui-pg-div ui-inline-edit" onmouseover="jQuery(this).addClass(\'ui-state-hover\');" onmouseout="jQuery(this).removeClass(\'ui-state-hover\');"><span class="ui-icon ui-icon-note"></span></div>';

        getColumnIndexByName = function(grid,columnName) {
            var cm = grid.jqGrid('getGridParam','colModel');
            for (var i=0,l=cm.length; i<l; i++) {
                if (cm[i].name===columnName) {
                    return i; // return the index
                }
            }
            return -1;
        };

        DoDeliveryHolds = function(grid) {
            var aryIDS  = $(grid).jqGrid('getDataIDs');

            if(aryIDS.length > 0) {
                // Add Ajax call to do toggle in database
                alert(aryIDS.length);
            }
        };

        // Here we set the altRows option globallly
        jQuery.extend(jQuery.jgrid.defaults, { 
            altRows:true,
            altclass:'myAltRowClass',
            datatype: "json", 
            jsonReader: {
                root: "ROWS", 
                page: "PAGE", 
                total: "TOTAL", 
                records: "RECORDS", 
                cell: "", 
                id: "0"
            }, 
            emptyrecords: "No jobs to display.",
            rowList: [25,50,100], 
            viewrecords: true, 
            height: "auto", 
            loadonce: true, 
            footerrow: true, 
            loadComplete: function (data) {
                var $self = $(this), i = getColumnIndexByName($self, 'action');

                // nth-child need 1-based index so we use (i+1) below
                $("tbody > tr.jqgrow > td:nth-child("+(i+1)+") > div:nth-child(1)",$self[0]).click(function(e) {
                    var tr=$(e.target,$self[0].rows).closest("tr.jqgrow");

                    e.preventDefault();
                    window.location.href = 'CenterView.cfm?table=ORDER_JOBS&ID=' + tr[0].id + '&backurl=%3DJobsInbox%2Ecfm%3FPICK%5FDMS%5FCENTERID%3D15';
                });

            }, 
            colNames: [ "ID", "Delivery Type", "Service Type", "Pre-Commit", "Survey Name", "Client", "Order ID", "Job Number", "Client Reference","Internal Reference", "Type", "Product Name", "Submitted For", "Sales Coordinator", "Order Date", "Requested Date", "Standard Date", "Inbox Date", "Delivery Hold", "Pre-Commit Hold", "Analyst", "&nbsp;", "Actions" ], 
            colModel: [ 
                { name: "id", index: "id", hidden: true, key: true }, 
                { name: "delivery_type", index: "delivery_type", width: 70, formatter:'select', stype:'select', edittype:'select', editoptions: { value: ":All;External Delivery:External Delivery;Internal Data Access:Internal Data Access;Internal Delivery:Internal Delivery" } }, 
                { name: "service_type", index: "service_type", width: 65, searchoptions:{sopt:['cn','eq','bw','bn','nc','ew','en']} }, 
                { name: "isprecommit", index: "isprecommit", width: 50, align: "center", formatter:'select', stype:'select', edittype:'select', editoptions: { value: ":All;false:No;true:Yes" } }, 
                { name: "survey_name", index: "survey_name", searchoptions:{sopt:['cn','eq','bw','bn','nc','ew','en']}, formatter:'showlink', formatoptions:{baseLinkUrl:'LinkStation.cfm', addParam: '&Type=JobsInboxSurvey&PICK_DMS_CENTERID=15'} }, 
                { name: "corpname", index: "corpname", searchoptions:{sopt:['cn','eq','bw','bn','nc','ew','en']}, formatter:'showlink', formatoptions:{baseLinkUrl:'LinkStation.cfm', addParam: '&Type=JobsInboxClient&PICK_DMS_CENTERID=15'} }, 
                { name: "orderid", index: "orderid", width: 40, formatter:'showlink', formatoptions:{baseLinkUrl:'LinkStation.cfm', addParam: '&Type=JobsInboxOrder&PICK_DMS_CENTERID=15'}, search:false }, 
                { name: "jobsnumber", index: "jobsnumber", width: 60, searchoptions:{sopt:['cn','eq','bw','bn','nc','ew','en']}, formatter:'showlink', formatoptions:{baseLinkUrl:'CenterView.cfm', addParam: '&table=ORDER_JOBS&backurl=%3DJobsInbox%2Ecfm%3FPICK%5FDMS%5FCENTERID%3D15'} }, 
                { name: "clientref", index: "clientref", width: 60, searchoptions:{sopt:['cn','eq','bw','bn','nc','ew','en']} }, 
                { name: "internal_reference", index: "internal_reference", width: 33, formatter:'select', stype:'select', edittype:'select', editoptions: { value: ":;EOM:EOM;NO GO:NO GO" } }, 
                { name: "survey_type", index: "survey_type", width: 35, align: "center", formatter:'select', stype:'select', edittype:'select', editoptions: { value: ":All;2D:2D;3D:3D" } }, 
                { name: "product_name", index: "product_name", searchoptions:{sopt:['cn','eq','bw','bn','nc','ew','en']} }, 
                { name: "submitted_for", index: "submitted_for", width: 70, searchoptions:{sopt:['cn','eq','bw','bn','nc','ew','en']} }, 
                { name: "sales_coordinator", index: "sales_coordinator", width: 70, searchoptions:{sopt:['cn','eq','bw','bn','nc','ew','en']} }, 
                { name: "order_date", index: "order_date", width: 50, align: "center", search:false, datefmt: 'mm/dd/yy' }, 
                { name: "requested_date", index: "requested_date", width: 50, align: "center", search:false, datefmt: 'mm/dd/yy' }, 
                { name: "dt_standard", index: "dt_standard", width: 50, align: "center", search:false, datefmt: 'mm/dd/yy' }, 
                { name: "inbox_date", index: "inbox_date", width: 50, align: "center", search:false, datefmt: 'mm/dd/yy' }, 
                { name: "isdeliveryhold", index: "isdeliveryhold", sortable: true, search: true, width: 50, align: "center", formatter:'select', stype:'select', editable:true, edittype:'select', editoptions: { value: ":;false:No;true:Yes" } }, 
                { name: "isprecommithold", index: "isprecommithold", sortable: true, search: true, width: 50, align: "center", formatter:'select', stype:'select', editable:true, edittype:'select', editoptions: { value: ":;false:No;true:Yes" } }, 
                { name: "analyst", index: "analyst", width: 115, align: "center", sortable: true, search: true, formatter:'select', stype:'select', editable:true, edittype:'select', editoptions: { value: ":;michael-19810202:Mike Hares;sara-20061004:Sara Kathleen Lampman" } }, 
                { name: 'action', index: 'action', sortable: false, search: false, width: 25, formatter: function() { return noteIcon; } }, 
                { name: "act", index: "act", width: 55, align: "center", sortable: false, search:false, formatter: "actions", 
                        formatoptions: {
                            keys: true, delbutton: false, afterSave: function() { $(this).jqGrid('setGridParam', {datatype:'json'}); $(this).trigger('reloadGrid', [{page:1}]); }
                        }
                }
            ], 
            editurl: "Components/JobsInbox.cfc?method=SetJobUpdate&UPDATEDBY=aaron-20040630", 
            afterInsertRow: 
                function(rowid, aData){ 
                    if(aData.isdeliveryhold) {
                        $(this).setCell(rowid,"isdeliveryhold","",{"background":"#FF6A6A"});
                    }
                }
        }); 

        $('#Jobs').jqGrid({
            url: "Components/JobsInbox.cfc?method=GetJobGrid&PICK_DMS_CENTERID=15&CFDateFormat=MM/DD/YY", 
            caption: "Jobs Inbox", 
            pager: $('#JobsPager')              
        });
        $('#Jobs').jqGrid('filterToolbar', { searchOperators: false, ignoreCase: true });
        $('#Jobs').jqGrid('navGrid', '#JobsPager', { add: false, edit: false, del: false, refresh: false });
        $('#Jobs').jqGrid('navButtonAdd', '#JobsPager', { caption: "", buttonicon: "ui-icon-refresh", title: $.jgrid.nav.refreshtitle, onClickButton: function() { $(this).jqGrid('setGridParam', {datatype:'json'}); $(this).trigger('reloadGrid', [{page:1}]); } });
        $('#Jobs').jqGrid('navButtonAdd', '#JobsPager', { caption: "Toggle Delivery Holds", buttonicon: "ui-icon-pencil", onClickButton: function() { var str = confirm("Toggle the Delivery Hold for all displayed Jobs?"); if(str) { DoDeliveryHolds($(this)); } } });

        var orgRowActions = $.fn.fmatter.rowactions;
        $.fn.fmatter.rowactions = function (act) {
            var $tr = $(this).closest("tr.jqgrow"),
                rid = $tr.attr("id"),
                $grid = $(this).closest("table.ui-jqgrid-btable"),
                rowData = $grid.jqGrid("getLocalRow", rid),
                isNonEditable = false,
                result; 

            // editable property of any column
            if (act === "edit" && rowData.isprecommit == false) {
                $grid.jqGrid("setColProp", "isprecommithold", {editable: false});
                isNonEditable = true;
            }
            result = orgRowActions.call(this, act);
            if (isNonEditable) {
                // reset the setting to original state
                $grid.jqGrid("setColProp", "isprecommithold", {editable: true});
            }
            return result;
        }

    });
</script>

<style type="text/css">
    .myAltRowClass { background-color: #ECF6FC; background-image: none; }

    /* Wrap in header cell */
    .ui-jqgrid .ui-jqgrid-htable th div {
        height:auto;
        overflow:hidden;
        padding-right:4px;
        padding-top:2px;
        position:relative;
        vertical-align:text-top;
        white-space:normal !important;
    }

    /* Wrap in table cell */
    .ui-jqgrid tr.jqgrow td {
        white-space: normal !important;
        height:auto;
        vertical-align:text-top;
        padding-top:2px;
    }

    span.cellWithoutBackground {
        display:block;
        background-image:none;
        margin-right:-2px;
        margin-left:-2px;
        height:14px;
        padding:4px;
    }
</style>

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

VBA如何基于同一行中其他两个单元格的内容来编辑单元格内容

来自分类Dev

如何将同一行中不同列的单元格合并到同一列中不同行的单元格?

来自分类Dev

我可以从参考单元格的同一行但不同的列中获取单元格内容吗?

来自分类Dev

清空修改单元格同一行中的特定单元格

来自分类Dev

ExcelFuzzyLookUp:比较同一行中的单元格

来自分类Dev

Selenium C#-如何单击基于同一行中另一个单元格的单元格中的链接?

来自分类Dev

Excel:如何串联模式后的单元格?(单元格不在同一行中!)

来自分类Dev

如何从sql db的同一行中获取知道相邻单元格的单元格的值?

来自分类Dev

Gridview:基于同一行中单元格的值更改链接按钮文本

来自分类Dev

基于公式的条件格式来格式化同一行中的单元格

来自分类Dev

熊猫数据帧中同一行但不同列中单元格的乘法和

来自分类Dev

单元格中的值更改时,将数据插入同一行

来自分类Dev

jqGrid:如何在“单元格编辑”模型中添加一行?

来自分类Dev

当值相同时如何合并同一行VBA中的相邻单元格?

来自分类Dev

查找范围内的空单元格,然后返回与空单元格在同一行中的另一个单元格的内容

来自分类Dev

当在同一行、不同单元格中选择特定值时,Google 脚本仅在单元格中插入一次当前日期

来自分类Dev

通过单击同一行中的另一个单元格数据来获取单元格数据

来自分类Dev

如果列中的单元格有数据,则复制并粘贴到同一行中的其他单元格

来自分类Dev

如果单元格不为空,如何复制前一行不同列中的值?

来自分类Dev

如何使用PowerShell在一个CSV文件的同一行中基于包含多个值的单个单元格将一行分为多行

来自分类Dev

如何使用PowerShell在一个CSV文件的同一行中基于包含多个值的单个单元格将一行分为多行

来自分类Dev

如何根据同一行中的另一个单元格在一个单元格中加粗线条

来自分类Dev

如果单元格与列名匹配,则在一行中复制单元格

来自分类Dev

如何在引导程序表的同一行中独立于其他单元格更改一个单元格的高度?

来自分类Dev

如何在同一单元格中对单元格值进行排名

来自分类Dev

Python - 如何遍历数据帧并将一个单元格中的值替换为同一行中另一个单元格中的值

来自分类Dev

如何基于MS Excel 2010中的列中的值对一行中的所有单元格进行计数?

来自分类Dev

删除多行单元格中的第一行

来自分类Dev

识别一行中的单元格输入

Related 相关文章

  1. 1

    VBA如何基于同一行中其他两个单元格的内容来编辑单元格内容

  2. 2

    如何将同一行中不同列的单元格合并到同一列中不同行的单元格?

  3. 3

    我可以从参考单元格的同一行但不同的列中获取单元格内容吗?

  4. 4

    清空修改单元格同一行中的特定单元格

  5. 5

    ExcelFuzzyLookUp:比较同一行中的单元格

  6. 6

    Selenium C#-如何单击基于同一行中另一个单元格的单元格中的链接?

  7. 7

    Excel:如何串联模式后的单元格?(单元格不在同一行中!)

  8. 8

    如何从sql db的同一行中获取知道相邻单元格的单元格的值?

  9. 9

    Gridview:基于同一行中单元格的值更改链接按钮文本

  10. 10

    基于公式的条件格式来格式化同一行中的单元格

  11. 11

    熊猫数据帧中同一行但不同列中单元格的乘法和

  12. 12

    单元格中的值更改时,将数据插入同一行

  13. 13

    jqGrid:如何在“单元格编辑”模型中添加一行?

  14. 14

    当值相同时如何合并同一行VBA中的相邻单元格?

  15. 15

    查找范围内的空单元格,然后返回与空单元格在同一行中的另一个单元格的内容

  16. 16

    当在同一行、不同单元格中选择特定值时,Google 脚本仅在单元格中插入一次当前日期

  17. 17

    通过单击同一行中的另一个单元格数据来获取单元格数据

  18. 18

    如果列中的单元格有数据,则复制并粘贴到同一行中的其他单元格

  19. 19

    如果单元格不为空,如何复制前一行不同列中的值?

  20. 20

    如何使用PowerShell在一个CSV文件的同一行中基于包含多个值的单个单元格将一行分为多行

  21. 21

    如何使用PowerShell在一个CSV文件的同一行中基于包含多个值的单个单元格将一行分为多行

  22. 22

    如何根据同一行中的另一个单元格在一个单元格中加粗线条

  23. 23

    如果单元格与列名匹配,则在一行中复制单元格

  24. 24

    如何在引导程序表的同一行中独立于其他单元格更改一个单元格的高度?

  25. 25

    如何在同一单元格中对单元格值进行排名

  26. 26

    Python - 如何遍历数据帧并将一个单元格中的值替换为同一行中另一个单元格中的值

  27. 27

    如何基于MS Excel 2010中的列中的值对一行中的所有单元格进行计数?

  28. 28

    删除多行单元格中的第一行

  29. 29

    识别一行中的单元格输入

热门标签

归档