Is it possible to prevent focus for some PhpGrid dialog form inputs

QuestionsIs it possible to prevent focus for some PhpGrid dialog form inputs
toki asked 6 years ago

Hi Abu,

Is there any option when defining columns of PhpGrid to prevent focus it in add or edit dialog form without make it disabled or hidden.Because It is text can be changed if needed.

Regards…

2 Answers
Abu Ghufran answered 6 years ago

If you are using tab to focus field, you can define large value of tab index, so that it get skipped duration tab selection.

e.g.
$col["editoptions"] = array("tabindex"=>9999)

However, when you focus using mouse click, it would work as expected.

toki answered 6 years ago

Abu,

Thank you for your very useful answer.
Regards…

Your Answer

2 + 10 =

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 / 5. Vote count:

As you found this post useful...

Follow us on social media!

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

Let us improve this post!