Results 1 to 2 of 2

Thread: Javascript error when click on disabled column menu in grid header

    You found a bug! We've classified it as EXTJS-25837 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Ext JS Premium Member
    Join Date
    Oct 2011
    Trieste, italy
    Vote Rating

    Default Javascript error when click on disabled column menu in grid header

    Hi Mark,
    to disable grid headers menu I use columnMenu={null} as reported by docs.
    However if I click on arrows in the grid header I receive an error in browser console:
    Error: [Ext.create] Invalid class name or alias 'undefined' specified, must be a non-empty string
    A simple example to reproduce error:
    import React, { Component } from 'react'
    import { Grid, Column } from '@extjs/ext-react';
    export default class MyExample extends Component {
        store = new{
            data: [
                { "name": "Lisa", "email": "", "phone": "555-111-1224" },
                { "name": "Bart", "email": "", "phone": "555-222-1234" },
                { "name": "Homer", "email": "", "phone": "555-222-1244" },
                { "name": "Marge", "email": "", "phone": "555-222-1254" }
        render() {
            return (
                <Grid store={} columnMenu={null}>
                    <Column text="Name" dataIndex="name" flex="1"/>
                    <Column text="Email" dataIndex="email" flex="1"/>
                    <Column text="Phone" dataIndex="phone" flex="1"/>

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Vote Rating


    Thanks for the report. Looks like this is an Ext JS bug being tracked as EXTJS-25837.

Similar Threads

  1. Replies: 3
    Last Post: 14 Jun 2018, 11:55 PM
  2. How to call a javascript function on column header click in ext js grid?
    By ketanmulay in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 21 Jan 2010, 9:36 PM
  3. QuickTips disabled after Grid header click
    By reawilliams in forum Ext 1.x: Bugs
    Replies: 4
    Last Post: 14 Sep 2007, 2:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts