Results 1 to 2 of 2

Thread: How to pass regex expression to ST.future.Grid.rowWith() method?

  1. #1

    Default How to pass regex expression to ST.future.Grid.rowWith() method?

    I've got a grid that has a column by the name "NAME" and one row that says "Facebook." Doing rowWith("Facebook") works, but I want to use regex for various reasons. Nothing I've tried has worked, including passing /Facebook/, new RegExp("Facebook"), /\S/, etc.

    I assume I'm passing the regular expression incorrectly, but I'm not sure what the correct way to do so would be.

    This is basically what my code looks like now:


    grid.rowWith(columnName, /\S/).cellAt(0).click();


    Thanks in advance!

  2. #2
    Sencha - Sales Team daniel.gallo's Avatar
    Join Date
    Apr 2009
    Location
    London, England
    Posts
    396
    Answers
    75

    Default

    Regular expressions are supposed to be supported, but this looks like a bug. I'll get something logged.
    Daniel Gallo

Similar Threads

  1. Replies: 1
    Last Post: 28 May 2018, 4:14 PM
  2. How to provide Regex(Regular Expression) for ExtJS components ??
    By vaibhavdiwate100 in forum Ext: Discussion
    Replies: 2
    Last Post: 13 Sep 2013, 7:19 AM
  3. Off Topic: PHP preg_match with Vtype regex expression
    By Spirit in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 18 Feb 2008, 12:49 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
  •