I need to enforce a biz rule where the value of a string column is unique within the column. Is there a (column) setting for that? I haven't seen one, but it seems like a fairly common need so I would think it's somewhere. Maybe not?
What about getting the wpDT row ID to display? That too would be unique.
I'm also interest in a hook (action or filter) that fires prior to adding / saving a new row. Again, I could enforce the unique rule here...but there doesn't seem to be a hook that let's me check the data before it's added / updated.
We are located in Serbia and our working time is from 10:00 to 17:00 CET. business days.
Unfortunately there is no built in option for something like this.
wdt_ID is generated column for wpdatatables which is unique because is set AUTO INCREMENT in database which plugin use for actions like adding, edit or delete data.
You can take a look in our documentation about Actions and Filters which are defined in wpDataTables plugin for customization's by developers.
Hello again -
I need to enforce a biz rule where the value of a string column is unique within the column. Is there a (column) setting for that? I haven't seen one, but it seems like a fairly common need so I would think it's somewhere. Maybe not?
What about getting the wpDT row ID to display? That too would be unique.
I'm also interest in a hook (action or filter) that fires prior to adding / saving a new row. Again, I could enforce the unique rule here...but there doesn't seem to be a hook that let's me check the data before it's added / updated.
Thanks in advance for your help.
mfs
Hi mark fs,
Thank you for your purchase.
Sorry for late response.
We are located in Serbia and our working time is from 10:00 to 17:00 CET. business days.
Unfortunately there is no built in option for something like this.
wdt_ID is generated column for wpdatatables which is unique because is set AUTO INCREMENT in database which plugin use for actions like adding, edit or delete data.
You can take a look in our documentation about Actions and Filters which are defined in wpDataTables plugin for customization's by developers.
Best regards.
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables