[CLOSED] Not editable grouping summary gridpanel

  1. #1

    [CLOSED] Not editable grouping summary gridpanel

    Hi,
    Based on this example "https://examples1.ext.net/#/GridPanel/Plugins/GroupingSummary/" I'm starting to create my own grouping gridpanel.

    But in my app I don't allow edit, so I pass all column to editable=false.

    When I double click at gridpanel I get this error

    "Runtime Error in Microsoft JScript: Can not get value of property 'editable': the object is null or not defined"

    Click image for larger version. 

Name:	erro_group_grid.png 
Views:	184 
Size:	40.9 KB 
ID:	4395
    Last edited by Daniil; Jun 28, 2012 at 1:25 PM. Reason: [CLOSED]
  2. #2
    Hi,

    I am unable to reproduce. I have taken the example you mentioned and set up
    Editable="false"
    for all the Columns.

    But I have no error when double clicking on the cells.

    What Ext.NET sources do you use?

    What about to just do not set up Editor for the columns which you'd like to be not editable?
  3. #3
    that's the code for my component

    desgin code
    http://pastebin.com/iC8FtXWZ

    code behind
    http://pastebin.com/KMH7BM2N

    and javascript
    http://pastebin.com/7k33eq6y

    As you can see I don't have editor and editable is set to false.

    I really don't know I'm doing wrong.

    I'm using version 1.3
  4. #4
    Hi Marcello,

    It would be best to post simplified (only required things to reproduce the problem) directly here wrapping in the code tags.

    Unfortunately, I have no idea what can cause the error you are facing and I can't run your code to investigate/debug since I am getting various errors/exceptions.

    Please provide a simplified sample to reproduce the problem.

    Also I would recommend to test your code with Ext.NET v1.4. Is the issue still reproducible?
  5. #5
    Quote Originally Posted by Daniil View Post
    It would be best to post simplified...
    I'm not able to post a simplified example, Believe-me. I tried to do a simple example.

    Quote Originally Posted by Daniil View Post
    ... (only required things to reproduce the problem) directly here wrapping in the code tags.
    I posted the code using pastebin because I don't want to fill the post with a lot of code.

    Quote Originally Posted by Daniil View Post
    Unfortunately, I have no idea what can cause the error you are facing
    Me too. No idea :)

    Quote Originally Posted by Daniil View Post
    Please provide a simplified sample to reproduce the problem.
    As I said

    Quote Originally Posted by Daniil View Post
    Also I would recommend to test your code with Ext.NET v1.4. Is the issue still reproducible?
    I'll try this.
  6. #6
    Confirm, sometimes it is difficult to reproduce the problem with a simple example. The following technique has helped many members.
    How to prepare a sample

    Maybe, it will help you as well. You could, at least, remove dependence from database to allow us to run your code locally.

    If the issue persists with v1.4 and you are still not able to simplify the example, please clarify for what exactly column the JS error occurs for.
    Last edited by Daniil; Jun 26, 2012 at 7:12 AM.
  7. #7
  8. #8
    Thanks for the sample.

    Please set up
    SwallowBodyEvents="true"
    for the RowExpander.

    It is false by default and means that all events of the inner RowExpander Component will be bubbled up to the outer grid. Setting up to true prevents bubbling.
  9. #9
  10. #10
    Seems I didn't know such phrase, but I have understood:)

Similar Threads

  1. [CLOSED] Dynamic GridPanel with Grouping Summary and Sorting
    By bethc in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jun 22, 2010, 4:22 PM
  2. [CLOSED] Summary Columns for GridPanel without any Grouping
    By r_honey in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Apr 22, 2010, 12:54 AM
  3. [CLOSED] [1.0] GridPanel summary rows without grouping
    By danielg in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Feb 16, 2010, 7:36 AM
  4. [CLOSED] Grouping summary
    By majestic in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Dec 23, 2009, 1:33 PM
  5. [CLOSED] Remote grouping or grouping summary for GridPanel
    By jchau in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Nov 08, 2009, 10:23 PM

Posting Permissions