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 11 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 11 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 11 years ago

Abu,

Thank you for your very useful answer.
Regards…

Your Answer

3 + 10 =

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?