{ "info": { "author": "LOGILAB S.A. (Paris, FRANCE)", "author_email": "contact@logilab.fr", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: CubicWeb", "Programming Language :: JavaScript", "Programming Language :: Python" ], "description": "Summary\n=======\n\nTable view rendered using the SlickGrid_ javascript library.\n\nSlickGrid is an advanced JavaScript grid/spreadsheet component.\n\nThis view accepts any non-empty rset. It uses introspection on the\nresult set to compute column names and the proper way to display the\ncells.\n\nIt is highly configuration and accepts the same wealth of option than\ncubicweb.web.view.tableview.RsetTableView.\n\n.. _SlickGrid: https://github.com/mleibman/SlickGrid\n\nExample\n=======\n\nTo try it at the speed of light\n--------------------------------\n\nOnce your instance is running you can go to::\n\n http://localhost:8080/view?rql=Any L, X WHERE X is CWUser, X login L&vid=slickgrid\n\nThat's all. The rendered table uses the 'slickgrid' view.\n\nCalling the slidgrid from your views\n------------------------------------\n\nThe simplest way is to call:\n\n.. sourcecode:: python\n\n self._cw.wview('slickgrid', rset, 'null')\n\nOptions can be specified by class attributes:\n\n* `displaycols`, if not `None`, should be a list of rset's columns to be\n displayed.\n\n* `headers`, if not `None`, should be a list of headers for the table's\n columns. `None` values in the list will be replaced by computed column\n names.\n\n* `cellvids`, if not `None`, should be a dictionary with table column index\n as key and a view identifier as value, telling the view that should be\n used in the given column.\n\nAs well as SlickGrid_ specific option:\n\n* `columns_options`: a dictionary of SlickGrid column options\n\nOne can use:\n\n.. sourcecode:: python\n\n class MyRsetGridView(RsetGridView):\n __regid__ = 'myslickgrid'\n headers = (_('first'), _('second'), _('third'))\n cellvids = {0: 'text', 1: 'inline', 2:'outofcontext'}\n columns_options = {0: {'sortable': False}}\n\n self._cw.wview('myslickgrid', rset, 'null')\n\nNote that the pagination is not working yet.\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.cubicweb.org/project/cubicweb-slickgrid", "keywords": "", "license": "LGPL", "maintainer": "", "maintainer_email": "", "name": "cubicweb-slickgrid", "package_url": "https://pypi.org/project/cubicweb-slickgrid/", "platform": "", "project_url": "https://pypi.org/project/cubicweb-slickgrid/", "project_urls": { "Homepage": "http://www.cubicweb.org/project/cubicweb-slickgrid" }, "release_url": "https://pypi.org/project/cubicweb-slickgrid/1.2.0/", "requires_dist": [ "cubicweb (>=3.23)", "six (>=1.4.0)" ], "requires_python": "", "summary": "Table view rendered using the SlickGrid_ javascript librairy.", "version": "1.2.0" }, "last_serial": 4295645, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "33a96bd5a74babb6ec0fa92fe59f78a9", "sha256": "bf530ba5e86cb5f49d14b3440095c04e782eb300be1eb3320f6448e29e2cda45" }, "downloads": -1, "filename": "cubicweb-slickgrid-1.0.0.tar.gz", "has_sig": false, "md5_digest": "33a96bd5a74babb6ec0fa92fe59f78a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 189635, "upload_time": "2015-02-16T17:06:34", "url": "https://files.pythonhosted.org/packages/6f/c5/42369fb5fb3e14069d7bbc45e801f7e79578e6b40ded7ab2f9f4bd067418/cubicweb-slickgrid-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "3a3289bc970e0f150ff3a0a764a8183e", "sha256": "0d611bef0bfe2dd61a414e4f9184bb9a16b47740402c142b2a4f0ea8528e0b57" }, "downloads": -1, "filename": "cubicweb-slickgrid-1.1.0.tar.gz", "has_sig": false, "md5_digest": "3a3289bc970e0f150ff3a0a764a8183e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 195435, "upload_time": "2016-09-15T11:13:47", "url": "https://files.pythonhosted.org/packages/35/45/213861e2788f63f0aed9322d68f6fe5267acba7a05ac32dc638a3d0bc62d/cubicweb-slickgrid-1.1.0.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "ded04df9bf1701c7b2e94b39114c2984", "sha256": "539ed24dbbff73c36d56fa00a22ea97f1f10d09d35fbf30bd29172a02290b86f" }, "downloads": -1, "filename": "cubicweb_slickgrid-1.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ded04df9bf1701c7b2e94b39114c2984", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 260881, "upload_time": "2018-09-21T10:02:28", "url": "https://files.pythonhosted.org/packages/31/7d/2214cdcb589c524b4d77d391ea5fabd4a30a710bad3cd507f69f6d1a1a5b/cubicweb_slickgrid-1.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "78838d53bb9580d47981f83e4b25e53f", "sha256": "9267da4115b0b965017f25fe225aa1c12e31a1136642ad9e5e209466cd8725b5" }, "downloads": -1, "filename": "cubicweb-slickgrid-1.2.0.tar.gz", "has_sig": false, "md5_digest": "78838d53bb9580d47981f83e4b25e53f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 194523, "upload_time": "2018-09-21T10:02:31", "url": "https://files.pythonhosted.org/packages/e8/43/a61dcb386481c77f17dbf3307a4552f10dfddbbcef9284295e2f2c2ba826/cubicweb-slickgrid-1.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ded04df9bf1701c7b2e94b39114c2984", "sha256": "539ed24dbbff73c36d56fa00a22ea97f1f10d09d35fbf30bd29172a02290b86f" }, "downloads": -1, "filename": "cubicweb_slickgrid-1.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ded04df9bf1701c7b2e94b39114c2984", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 260881, "upload_time": "2018-09-21T10:02:28", "url": "https://files.pythonhosted.org/packages/31/7d/2214cdcb589c524b4d77d391ea5fabd4a30a710bad3cd507f69f6d1a1a5b/cubicweb_slickgrid-1.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "78838d53bb9580d47981f83e4b25e53f", "sha256": "9267da4115b0b965017f25fe225aa1c12e31a1136642ad9e5e209466cd8725b5" }, "downloads": -1, "filename": "cubicweb-slickgrid-1.2.0.tar.gz", "has_sig": false, "md5_digest": "78838d53bb9580d47981f83e4b25e53f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 194523, "upload_time": "2018-09-21T10:02:31", "url": "https://files.pythonhosted.org/packages/e8/43/a61dcb386481c77f17dbf3307a4552f10dfddbbcef9284295e2f2c2ba826/cubicweb-slickgrid-1.2.0.tar.gz" } ] }