Is there a way to submit or contribute source back to the project? I’ve fixed one bug below and made some changes to be able to do custom SQL queries and paginating but I’m not sure how best to go about this.
Below is a simple fix in adding footers on the server side that would crash the .NET connector
dhtmlxGridConfiguration.cs
for (var i = 0; i < FooterAttaches.Count; i++)
{
xWriter.WriteStartElement("call");
xWriter.WriteAttribute("command", "attachFooter");
xWriter.WriteStartElement("param");
xWriter.WriteString(String.Join(",", FooterAttaches[i]["values"]));
xWriter.WriteEndElement();
if (HeaderAttaches[i]["styles"] != null)
{
xWriter.WriteStartElement("param");
xWriter.WriteString(String.Join(",", FooterAttaches[i]["styles"]));
xWriter.WriteEndElement();
}
xWriter.WriteEndElement();
}
should be
for (var i = 0; i < FooterAttaches.Count; i++)
{
xWriter.WriteStartElement("call");
xWriter.WriteAttribute("command", "attachFooter");
xWriter.WriteStartElement("param");
xWriter.WriteString(String.Join(",", FooterAttaches[i]["values"]));
xWriter.WriteEndElement();
if ([b]FooterAttaches[/b][i]["styles"] != null)
{
xWriter.WriteStartElement("param");
xWriter.WriteString(String.Join(",", FooterAttaches[i]["styles"]));
xWriter.WriteEndElement();
}
xWriter.WriteEndElement();
}