Search Type: Posts; User: frankpeng

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Thanks for your suggestion. I will try to implement:



    selModel:
    {
    selType: 'checkboxmodel',
    ...
  2. I haven't tried the way you suggested. However the code below is what I came up and it worked, though it heavily relies on javascript. What I am not sure is that, when I perform CRUD operations...
  3. I am using checkcolumn in a grid. I can disable the whole column as below


    columns :
    [
    {
    xtype: 'checkcolumn',
    disabled: true //false
    ...
  4. I got some sample class which was based on 4.1.3.

    When I loaded onto 4.2.0 environment, it doesn't work for IE8. Not recognizing "Ext....". But, it somehow works for Chrome.

    When I...
  5. That seems to work. Thanks!
  6. I tried 'vbox' instead of 'fit', but it didn't show anything.

    I also tried by removing the first two children which just have html text and only keeping the grid panel (view.site), height:...
  7. Thanks for getting on this quickly. Here is the main code.

    Also, I removed an unnecessary line above "renderTo: 'container'"



    launch: function () {
    ...
  8. I have a grid where I set width and height in percentages for the grid (not the columns). As I stretch my IE (IE-8) browser, the width gets adjusted accordingly. However, it doesn't appear the...
  9. I have built an application by referencing sencha-touch .js and sencha-touch .css from index.html and the application has standard Sencha's MVC model.

    I wonder that, if the application was not...
  10. Figured it out.

    Have these in the controller and launch it within launch function

    Ext.require('Ext.direct.Manager');
    Ext.require('Ext.direct.RemotingProvider');

    launch: function ()
    {...
  11. I have been using Ext.Direct.addProvider in ExtJs 4. For example: Ext.Direct.addProvider(Remote.CaseHandler); I normally place it in a controller .js (in a MVC framework).

    I recently got it...
  12. I just tried. It worked for both 'afterRender' and 'afterrender' from listerners (which is a non-MVC way). I need to find a solution in MVC way. Thanks in advance.
  13. Do you have a solution for that? I ran into this issue now. Thanks
  14. I can capture a key [Enter] event from a form (under view) in MVC as follows.



    Ext.define('SC.view.case_search.AdvSearchPopup', {
    extend: 'Ext.window.Window',
    alias :...
  15. Replies
    7
    Views
    1,398
    Hi. I had the same problem. To circumvent the issue for now, I would like to get any radiofield event. I wonder how you could trigger a "uncheck" radio button event.

    Thanks
  16. I reviewed this post. http://www.sencha.com/forum/showthread.php?152769-I-need-a-help-to-add-event-in-radiofield

    It is essentially doing what I did. But, mine doesn't work.
  17. Can someone tell me why radiofield event is not triggered in Extjs4 MVC?

    I tried:
    'viewport > casesearch > radiofield'
    'viewport > casesearch radiofield'

    I also tried the line...
  18. Thanks. I didn't know only the first panel needs to be a tab.

    That worked!
  19. Per your suggestion, I moved up "title" section, which worked beautifully.

    However, why is the tab (circled below) still there?
    29346



    h', {
    extend: 'Ext.tab.Panel',
    alias :...
  20. That worked. Thanks
  21. This is under MVC in extjs 4.

    The app opens a main window with a "Main Tab". The "Open Case Search" button adds a child tab "Case Search (temp)". But, why the title of the 2nd tab doesn't stay...
  22. Thanks
  23. Thanks for your prompt reply. I tried to directly access the php variables. I have a bunch of them.

    Now, if defining global variables in extjs4 is the only workaround, I would have to...
  24. I used to have a php page with
    <%
    $resourcePath = 'abc';
    %>
    It can be accessed like
    <script type="text/javascript">
    var x = "<?=$resourcePath ?>";
    </script>

    Now, I tried to move to...
  25. I experienced the same problem with x=<? =$phpvariable ?> in extjs4 (MVC architecture), though there is no problem when I am accessing the same php from extjs4 without MVC (Ext.OnReady(.....).

    I...
Results 1 to 25 of 26
Page 1 of 2 1 2