An "AG Grid for Trail Use Only" Problem

Hi,AG Grid is awesome,Thanks for wrapping it

I’m developing an application using AG Grid to display data. However, when I deployed my app on a virtual machine, I noticed there’s an “AG Grid for Trial Use Only” watermark appearing on it.

I’m aware that AG Grid has an enterprise version, but I’m not sure if I accidentally used any enterprise features in my implementation.

here is my code:

bank_slip_column_defs = [
    ag_grid.column_def(
        field="trade_date",
        header_name="交易日期",
        cell_data_type="date",
        editable=True,
        filter=ag_grid.filters.date,
        cell_editor=ag_grid.editors.date,
    ),
    ag_grid.column_def(
        field="description",
        header_name="项目描述",
        cell_data_type="text",
        editable=True,
        filter=ag_grid.filters.text,
        cell_editor=ag_grid.editors.text,
    ),
    ag_grid.column_def(
        field="additional_info",
        header_name="备注",
        cell_data_type="text",
        editable=True,
        filter=ag_grid.filters.text,
        cell_editor=ag_grid.editors.text,
    ),
    ag_grid.column_def(
        field="amount",
        header_name="金额",
        cell_data_type="number",
        editable=True,
        filter=ag_grid.filters.number,
        cell_editor=ag_grid.editors.number,
    ),
    ag_grid.column_def(
        field="category",
        header_name="分类",
        cell_data_type="text",
        editable=True,
        filter=ag_grid.filters.text,
        cell_editor=ag_grid.editors.text,
        header_tooltip="""
                搜索广告:
                营销推广:
                外包劳务:
                技术服务:
                物业支出:
                财务分红:
                其他支出:
        """,
        cell_editor_params={
            "values": [
                "搜索广告",
                "营销推广",
                "外包劳务",
                "技术服务",
                "物业支出",
                "财务分红",
                "其他支出",
            ]
        },
    ),
    ag_grid.column_def(
        field="payer",
        header_name="付款方",
        cell_data_type="text",
        editable=True,
        filter=ag_grid.filters.text,
        cell_editor=ag_grid.editors.text,
    ),
    ag_grid.column_def(
        field="receiver",
        header_name="收款方",
        cell_data_type="text",
        editable=True,
        filter=ag_grid.filters.text,
        cell_editor=ag_grid.editors.text,
    ),
    ag_grid.column_def(
        field="bank_slip_url",
        header_name="银行回单",
        cell_data_type="text",
        editable=True,
        filter=ag_grid.filters.text,
        cell_editor=ag_grid.editors.text,
    ),
    ag_grid.column_def(
        field="tax_invoice_url",
        header_name="发票",
        cell_data_type="text",
        editable=True,
        filter=ag_grid.filters.text,
        cell_editor=ag_grid.editors.text,
    ),
]


def ag_grid_zone() -> rx.Component:
    return rx.vstack(
        ag_grid(
            id="ag_grid_basic_editing",
            row_data=UploadState.data,
            column_defs=bank_slip_column_defs,
            on_cell_value_changed=UploadState.cell_value_changed,
            width="90vw",
            height="60vh",
            pagination=True,
        ),
    )

I’m not an English native speaker,wish I describe my problem clearly

Hi, you are using at least one enterprise feature:

  • Date Filter (ag_grid.filters.date) — The date filter is an enterprise feature. Replacing it with a simple text filter can remove the watermark if no enterprise license is present.
  • Column Tooltips — The header_tooltip property may also be an enterprise feature, depending on the grid version.
1 Like