Search Type: Posts; User: davidryan

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    859
    I was not handling the capture group correctly.

    In my case, the following worked (if anyone needs to do something similar):



    var preRegex = /<pre>([\s\S]*?)<\/pre>/im;
    html...
  2. Replies
    2
    Views
    859
    Here's exactly what I am doing, which is not returning a match when cleanHtml is invoked (e.g. switch between preview/code):



    html = html.replace(/<pre>([\s\S]*)<\/pre>/i, function(v)...
  3. Replies
    2
    Views
    859
    I'm trying to get pre blocks working in the htmleditor component. I must be doing something retarded, but the following regex should match everything wrapped within the pre block:


    var preText =...
  4. When a newline is created in the HtmlEditor field, it is done by wrapping a <br> inside a div block. Due to a backend component requirement, I need to ensure the <br> is closed (i.e. insert <br/>...
  5. Replies
    4
    Views
    9,508
    In an MVC app? I imagine it would be pretty simple for per-page rendering, but I'm not sure how to approach it for MVC ...

    Don't suppose you have some sample code you'd like to/can share? You...
  6. Replies
    4
    Views
    9,508
    Hi,

    Has anyone implemented markdown, either directly into a 4.x MVC app or by way of a plugin? I am interested in using a markdown editor and preview (e.g. showdown or pagedown) instead of the...
  7. This is a great plugin and works really well. Thank you!

    Have you considered adding similar functionality offered by the following?

    http://www.eekboom.de/ClearButton.html

    Specifically...
  8. Replies
    67
    Views
    23,828
    This plugin does not work with a grid that uses Ext.selection.CheckboxModel. I tried to load the plugin after the grid had been rendered, and that appeared to add the xfilterField constructor, but I...
  9. Ext.History it is :-)

    Thanks,
    Dave.
  10. Hi Scott,

    Thanks for your response.

    I should have been more specific, that is the event I was referring to. My understanding of window.onbeforeunload is that you can't influence its behaviour....
  11. Hi there,

    I am yet to add full history support to my MVC application and would like a quick solution to prevent accidental navigation away from the application - made all the more likely for Mac...
  12. I've tried using an override to modify the positioning of the x-tool-close button to the left - i.e. OSX alignment, rather than Windows. It doesn't change position.

    Has anyone modified these...
  13. Replies
    67
    Views
    23,828
    When integrating this I was receiving the following error once I set a column to nofilter:true (e.g. actioncolumn):



    'getValue is not a function'


    The code I am using is based on...
  14. +1

    Given the fact that they're not on the Sencha examples page either, I fear they may never have been created. This makes neptune practically unusable and a poor inclusion to the 4.1 release,...
  15. Replies
    1
    Views
    704
    Hi there,

    I'm loading data (json) from the server into a form, which has a radiogroup. When the radiogroup values matched the configured defaults, rather than the loaded content, it always returns...
  16. Replies
    2
    Views
    957
    Are you suggesting I do something like:



    // ownerCt of this is the grid
    displayFunction: function(btn) {
    var callerId = btn.up('grid').id;

    var view =...
  17. Replies
    2
    Views
    957
    Hi there,

    The scenario:

    1. Grid with a button.
    2. Button event, window created.
    3. Save button in window, I want to get the original grid as part of the controller handling the...
  18. Replies
    66
    Views
    29,579
    @Steffenk

    Any chance you would be willing to update this excellent plugin to support ExtJS4? (including editable grids)
Results 1 to 18 of 18