Hello,
I'm trying to change the default position of Gantt Task Information pop-up page.
At View.cshtml:
//===========================
@(Html.EJ().Gantt("gantt")
//...
.ClientSideEvents(cs =>
{
cs.ActionBegin("GanttActionBegin");
})
//...
<script>
function GanttActionBegin(args) {
$("#ganttsample_dialogEdit_wrapper").css("top", 30);
}
</script>
//===========================
For that, I'm trying using this script:
$("#ganttsample_dialogEdit_wrapper").css("top", 30);
And I have bind this function in ClientSideEvents, and I have tried in ActionComplete and ActionBegin and some ClientSideEvents but it doesn't work.
Is any solution to implement the functionality?
Thanks your help.
Best regards