1. #21
    Ext JS Premium Member
    Join Date
    Sep 2008
    Posts
    72
    Vote Rating
    0
    kaigan is on a distinguished road

      0  

    Default


    Hi guys,

    First off thanks for all the comments and thanks for helping out tonedeaf

    I will be implementing Hunyi's changes to get ExplorerView's D&D to work during the weekend. My own project that was supposed to use this extension is postponed so I havent had any "paid" time to work on it

    Expect a new zip this weekend!
    -

  2. #22
    Ext JS Premium Member
    Join Date
    Sep 2008
    Posts
    72
    Vote Rating
    0
    kaigan is on a distinguished road

      0  

    Default


    Quote Originally Posted by Hunyi View Post
    Making D&D work you have to complete the function of Ext.ux.grid.ExplorerView.doRender in this way:
    Thanks Hunyi, it's appreciated!
    -

  3. #23
    Ext User
    Join Date
    Jan 2009
    Posts
    28
    Vote Rating
    0
    Digbert is on a distinguished road

      0  

    Question @tonedeaf...

    @tonedeaf...


    ...err, I wrote in my last post that it's working, but that was only true whilst I was accessing the html from the examples folder. I really want to do a .net project, and so I tried to put the html into an aspx file, imported all the explorerview files into the project and referenced them. I am referencing all other ext-js files using coolite, as you will see below. However, I get nothing when I view the aspx file. Here's the code:

    HTML Code:
    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ExplorerView.aspx.cs" Inherits="WcfServiceTest.ExplorerView" %>
    <%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html>
        <head runat="server">
        <ext:ScriptManager ID="extScriptManager" runat="server" Theme="Gray" />
            <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
            <title>Grid3 ExplorerView Example</title>
            
            <!-- I was told I don't need these 2 references...-->
            <!-- LIBS 
            <script type="text/javascript" src="ext-2.2/adapter/ext/ext-base.js"></script>-->
            <!-- ENDLIBS 
            <script type="text/javascript" src="ext-2.2/ext-all.js"></script>-->
            
            
            <script type="text/javascript" src="_js/explorerview/explorerview.js"></script>
            <script type="text/javascript" src="_js/explorerview/Ext.ux.grid.GroupingExplorerView.js"></script>
            <script type="text/javascript" src="_js/explorerview/explorerview.js"></script>
            <link rel="stylesheet" type="text/css" href="_css/explorerview.css" />
    
            <!-- Common Styles for the examples -->
            <link rel="stylesheet" type="text/css" href="../shared/examples.css" />
        </head>
        <body>
            <h1>Grid3 ExplorerView</h1>
        </body>
    
    </html>
    The paths to the referenced .js files are all correct, but am I missing something obvious?

    Would be really nice if you could point out my mistake.

    cheers,
    D.

  4. #24
    Sencha User fangzhouxing's Avatar
    Join Date
    Mar 2007
    Posts
    468
    Vote Rating
    1
    fangzhouxing is on a distinguished road

      0  

    Default


    Great job! Thanks.

  5. #25
    Ext JS Premium Member
    Join Date
    Sep 2008
    Posts
    72
    Vote Rating
    0
    kaigan is on a distinguished road

      0  

    Default


    Update (Jan 26):
    * Added changes by Hunyi for D&D support in ExplorerView
    -

  6. #26
    Sencha User
    Join Date
    Mar 2008
    Posts
    566
    Vote Rating
    0
    moegal is on a distinguished road

      0  

    Default


    is the sorting off in the grid examples? When I try to sort by name ASC. The names show up out of order on the grid without grouping.

    Thanks, Marty

  7. #27
    Ext JS Premium Member
    Join Date
    Sep 2008
    Posts
    72
    Vote Rating
    0
    kaigan is on a distinguished road

      0  

    Default


    Quote Originally Posted by moegal View Post
    is the sorting off in the grid examples? When I try to sort by name ASC. The names show up out of order on the grid without grouping.

    Thanks, Marty
    Looks like the sorting is case sensitive, by design in ext?
    -

  8. #28
    Sencha User
    Join Date
    Mar 2008
    Posts
    566
    Vote Rating
    0
    moegal is on a distinguished road

      0  

    Default


    That appears to be the case. Any way to see what the default sorting order is? Is it all lower then all upper, how do numbers fit in? Can we convert so it sorts alpha with disregard to case?

    I guess these are questions really meant for extjs.

    Thanks, Marty

    Excellent extension!

    SOLUTION TO CASE
    you can sort a column case insensitively by defining the type of the record to 'string'.
    ... [{name:'firstname', mapping:'firstname',type:'string'},...]
    Last edited by moegal; 27 Jan 2009 at 8:16 AM. Reason: SOLUTION TO CASE

  9. #29
    Ext JS Premium Member
    Join Date
    Sep 2008
    Posts
    72
    Vote Rating
    0
    kaigan is on a distinguished road

      0  

    Default


    Great find moegal!
    -

  10. #30
    Ext JS Premium Member
    Join Date
    Sep 2008
    Posts
    72
    Vote Rating
    0
    kaigan is on a distinguished road

      0  

    Default


    Update (Feb 3):
    * Updated ExplorerView to handle removal of columns on-the-fly (http://extjs.com/forum/showthread.ph...121#post282121)


    Zip in first post have been updated and so have the demo-page, enjoy!
    -