jeditable based upon content of first column

jeditable based upon content of first column

xjimxxjimx Posts: 4Questions: 0Answers: 0
edited March 2010 in General
Very nice application, even a newbie like me can get it to work! Thanks for providing this software.

In my table I'm using sajaxsource with jeditable to create and edit. I want to allow editing based upon the content of the first column. I have very limited jquery and javascript experience. Can you provide some guidance on how to do this.

Thanks,
Jim

Replies

  • xjimxxjimx Posts: 4Questions: 0Answers: 0
    I've tried the following but it doesn't work. The idea was to apply the class "edit_allowed" to any row in #table_id that does not have the word "System" in the first of the row.

    "[code]$("#table_id tbody tr").not("tr:first contains:('System')").addClass('edit_allowed');[/code]
This discussion has been closed.