Code Monkey home page Code Monkey logo

gridcontrol's Introduction

GridControl

Members

Ralf, Ronald, Marten, Bastian

Features

  • add columns
  • remove columns
  • change columns
  • move columns
  • add new attributes
  • join new attributes

Todo

  • role based grid layout
  • configuration GUI (?)

XML Syntax

gridcontrol.xml in module etc folder:

<?xml version="1.0"?>
<gridcontrol>
    <grids>
        <product.grid>
            <entity_id>
                <remove/>
            </entity_id>

            <sku>
                <after>name</after>
            </sku>
        </product.grid>

        <gridname>
            <column>
                <remove/>

                <after>columnname</after>

                <add>
                    <header>Column Title</header>
                    <type>text</type>
                    <index>qty</index>
                    <!--<joinAttribute>status|catalog_product/status|entity_id||inner</joinAttribute>-->
                    <joinField>qty|cataloginventory/stock_item|qty|product_id=entity_id|{{table}}.stock_id=1|left</joinField>
                </add>
            </column>

            <selecttest>
                <add>
                    <header>Status Column</header>
                    <type>options</type>
                    <options>
                        <option_a>
                            <key>1</key>
                            <value>Active</value>
                        </option_a>

                        <option_b>
                            <key>2</key>
                            <value>Inactive</value>
                        </option_b>
                    </options>
                    <index>status</index>
                </add>
                <after>column</after>
            </selecttest>
        </gridname>
    </grids>
</gridcontrol>

gridcontrol's People

Contributors

bastianccm avatar mryvlin avatar vsushkov avatar

Watchers

Nguyễn Thanh Toàn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.