Default edit to one record

QuestionsDefault edit to one record
C3media asked 10 years ago

Hi,

I'm needing that one record from DB, for example: Company name, be as edit as on click on edit button.

Regards!

C3media

3 Answers
Abu Ghufran answered 10 years ago

Hello,

I don't understand the statement.
Please explain further along with screenshot

You can email me at [email protected]

Navaneethan answered 9 years ago

Hi Abu,
I want to do a custom jquery function when I edit a row. I want do the an alert
for example when I edit a row some coloums will hide according to dropdown slection
Is there any way?

Abu Ghufran answered 9 years ago

Hello,

You can connect onchange event with dropdown and call custom JS function in which you can hide / show certain form fields.

e.g. if dropdown value = 1, hide row with field colname.

$col["editoptions"]["onchange"] = "function(){ if (this.value == 1) $('tr_colname').hide(); }";

Where 'colname' is the column name $col["name"]='colname';

Your Answer

14 + 16 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?